Ошибка при установки модуля Eel
Прописал в командной строке pip install Eel пошел процесс:
Collecting Eel
Using cached Eel-0.14.0.tar.gz (17 kB)
Requirement already satisfied: future in c:\program files\python39\lib\site-packages (from Eel) (0.18.2)
Collecting bottle
Using cached bottle-0.12.19-py3-none-any.whl (89 kB)
Collecting bottle-websocket
Using cached bottle-websocket-0.2.9.tar.gz (2.0 kB)
Collecting gevent-websocket
Using cached gevent_websocket-0.10.1-py3-none-any.whl (22 kB)
Collecting gevent
Using cached gevent-20.12.1.tar.gz (5.9 MB)
Installing build dependencies ... error
до этого момента все было нормально, но после:
ERROR: Command errored out with exit status 1:
command: 'c:\program files\python39\python.exe' 'c:\program files\python39\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\User\AppData\Local\Temp\pip-build-env-7owfez8l\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, < 2.0 ; platform_python_implementation == '"'"'CPython'"'"''
cwd: None
Complete output (27 lines):
Collecting cffi>=1.12.3
Using cached cffi-1.14.4-cp39-cp39-win_amd64.whl (179 kB)
Collecting Cython>=3.0a5
Using cached Cython-3.0a6-py2.py3-none-any.whl (1.0 MB)
Collecting greenlet<2.0,>=0.4.17
Using cached greenlet-0.4.17.tar.gz (61 kB)
Collecting wheel
Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting setuptools>=40.8.0
Using cached setuptools-51.1.1-py3-none-any.whl (2.0 MB)
Using legacy 'setup.py install' for greenlet, since package 'wheel' is not installed.
Installing collected packages: pycparser, wheel, setuptools, greenlet, Cython, cffi
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:\program files\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-83q7wnl8\\greenlet_d3f80df7773541828232d986305cc345\\setup.py'"'"'; __file__='"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-83q7wnl8\\greenlet_d3f80df7773541828232d986305cc345\\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\User\AppData\Local\Temp\pip-record-b_nhoujw\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\User\AppData\Local\Temp\pip-build-env-7owfez8l\overlay' --compile --install-headers 'C:\Users\User\AppData\Local\Temp\pip-build-env-7owfez8l\overlay\Include\greenlet'
cwd: C:\Users\User\AppData\Local\Temp\pip-install-83q7wnl8\greenlet_d3f80df7773541828232d986305cc345\
Complete output (5 lines):
running install
running build
running build_ext
building 'greenlet' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\program files\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-83q7wnl8\\greenlet_d3f80df7773541828232d986305cc345\\setup.py'"'"'; __file__='"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-83q7wnl8\\greenlet_d3f80df7773541828232d986305cc345\\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\User\AppData\Local\Temp\pip-record-b_nhoujw\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\User\AppData\Local\Temp\pip-build-env-7owfez8l\overlay' --compile --install-headers 'C:\Users\User\AppData\Local\Temp\pip-build-env-7owfez8l\overlay\Include\greenlet' Check the logs for full command output.
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\program files\python39\python.exe' 'c:\program files\python39\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\User\AppData\Local\Temp\pip-build-env-7owfez8l\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, < 2.0 ; platform_python_implementation == '"'"'CPython'"'"'' Check the logs for full command output.
В чем проблема? Почему модуль не устанавливается?