I tried to build a python environment with neovim.
pip install neovim
When I typed the command
Command "c:\users\win2k\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\win2k\\AppData\\Local\\Temp\\pip-install-673_0mi5\\pyuv\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\win2k\AppData\Local\Temp\pip-record-o5x6r1zi\install-record.txt --single-version-external-managed --compile "failed with error code 1 in C:\Users\win2k\AppData\Local\Temp\pip-install-673_0\puvy5
An error similar to the one shown in appears, and if you type: echo has('python3') on neovim, 0 will return.
What changes should I make to resolve this?
If you look at the error message, the pyuv
compilation has failed.In order for Windows to compile source code for C in python 3.5 and later packages, Visual C++ 14.0 compiler
is required.Download and install Build Tools for Visual Studio 2017 (also available in Microsoft Build Tools 2015).
© 2024 OneMinuteCode. All rights reserved.