无法安装pyqt5
回答
收藏

无法安装pyqt5

奚渺
2024-01-28 14:18·浏览量:601
奚渺
发布于 2024-01-28 14:18601浏览

报错如下,请教一下大佬


Installing build dependencies: started

 Installing build dependencies: finished with status 'done'

 Getting requirements to build wheel: started

 Getting requirements to build wheel: finished with status 'done'

 Preparing metadata (pyproject.toml): started

 Preparing metadata (pyproject.toml): finished with status 'done'

Processing c:\users\duxy\appdata\local\shadowbot\cache\packages\pyqt5_qt5-5.15.2-py3-none-win_amd64.whl (from pyqt5)

Building wheels for collected packages: PyQt5-sip

 Building wheel for PyQt5-sip (pyproject.toml): started

 Building wheel for PyQt5-sip (pyproject.toml): finished with status 'error'

 error: subprocess-exited-with-error

 

 Building wheel for PyQt5-sip (pyproject.toml) did not run successfully.

 exit code: 1

 

 [5 lines of output]

 running bdist_wheel

 running build

 running build_ext

 building 'PyQt5.sip' 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/

 [end of output]

 

 note: This error originates from a subprocess, and is likely not a problem with pip.

 ERROR: Failed building wheel for PyQt5-sip

Failed to build PyQt5-sip

ERROR: Could not build wheels for PyQt5-sip, which is required to install pyproject.toml-based projects


收藏
全部回答1
最新
发布回答
回答