pip install eel ошибка
ERROR: Command errored out with exit status 1:
command: 'c:\users\84592\appdata\local\programs\python\python39\python.exe' 'c:\users\84592\appdata\local\programs\python\python39\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\84592\AppData\Local\Temp\pip-build-env-b06zlo4k\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools >= 40.8.0' wheel 'Cython >= 3.0a5' 'cffi >= 1.12.3 ; platform_python_implementation == '"'"'CPython'"'"'' 'greenlet >= 0.4.17 ; platform_python_implementation == '"'"'CPython'"'"''
cwd: None
Complete output (27 lines):
Collecting setuptools>=40.8.0
Using cached setuptools-50.3.1-py3-none-any.whl (785 kB)
Collecting wheel
Using cached wheel-0.35.1-py2.py3-none-any.whl (33 kB)
Collecting Cython>=3.0a5
Using cached Cython-3.0a6-py2.py3-none-any.whl (1.0 MB)
Collecting cffi>=1.12.3
Using cached cffi-1.14.3-cp39-cp39-win_amd64.whl (179 kB)
Collecting greenlet>=0.4.17
Using cached greenlet-0.4.17.tar.gz (61 kB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Using legacy 'setup.py install' for greenlet, since package 'wheel' is not installed.
Installing collected packages: setuptools, wheel, Cython, pycparser, cffi, greenlet
Running setup.py install for greenlet: started
Running setup.py install for greenlet: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'c:\users\84592\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\84592\\AppData\\Local\\Temp\\pip-install-wtcuwfus\\greenlet\\setup.py'"'"'; __file__='"'"'C:\\Users\\84592\\AppData\\Local\\Temp\\pip-install-wtcuwfus\\greenlet\\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\84592\AppData\Local\Temp\pip-record-ehi5p5xj\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\84592\AppData\Local\Temp\pip-build-env-b06zlo4k\overlay' --compile --install-headers 'C:\Users\84592\AppData\Local\Temp\pip-build-env-b06zlo4k\overlay\Include\greenlet'
cwd: C:\Users\84592\AppData\Local\Temp\pip-install-wtcuwfus\greenlet\
Complete output (5 lines):
running install
running build
running build_ext
building 'greenlet' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\84592\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\84592\\AppData\\Local\\Temp\\pip-install-wtcuwfus\\greenlet\\setup.py'"'"'; __file__='"'"'C:\\Users\\84592\\AppData\\Local\\Temp\\pip-install-wtcuwfus\\greenlet\\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\84592\AppData\Local\Temp\pip-record-ehi5p5xj\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\84592\AppData\Local\Temp\pip-build-env-b06zlo4k\overlay' --compile --install-headers 'C:\Users\84592\AppData\Local\Temp\pip-build-env-b06zlo4k\overlay\Include\greenlet' Check the logs for full command output.
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\84592\appdata\local\programs\python\python39\python.exe' 'c:\users\84592\appdata\local\programs\python\python39\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\84592\AppData\Local\Temp\pip-build-env-b06zlo4k\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools >= 40.8.0' wheel 'Cython >= 3.0a5' 'cffi >= 1.12.3 ; platform_python_implementation == '"'"'CPython'"'"'' 'greenlet >= 0.4.17 ; platform_python_implementation == '"'"'CPython'"'"'' Check the logs for full command output.
C:\Users\84592\Desktop>
Ответы (1 шт):
Автор решения: Victor VosMottor
→ Ссылка
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
Это значит надо поствить Microsoft Visual C++ 14.0. Ставить отсюда. Эх... до этого ж легко самому допереть, достаточно ошибку прочитать ;)
Если уж совсем туго даётся, там (по ссылке) нужно листануть вниз, перейти в Инструменты для Visual Studio 2019 и там скачать и установить Build Tools для Visual Studio 2019.