这篇文章可能会解决你PyQt5安装失败的问题
不许再睡了!:
pip install PyQt5 报错:
(D:\MyTools\dejahu) D:\myDesktop\dejahu\vegetables_tf2.3-master\vegetables_tf2.3>pip install PyQt5
Collecting PyQt5
Using cached PyQt5-5.15.10-cp37-abi3-win_amd64.whl.metadata (2.2 kB)
Collecting PyQt5-sip=12.13 (from PyQt5)
Using cached PyQt5_sip-12.13.0.tar.gz (123 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting PyQt5-Qt5>=5.15.2 (from PyQt5)
Using cached PyQt5_Qt5-5.15.2-py3-none-win_amd64.whl (50.1 MB)
Using cached PyQt5-5.15.10-cp37-abi3-win_amd64.whl (6.8 MB)
Building wheels for collected packages: PyQt5-sip
Building wheel for PyQt5-sip (pyproject.toml) ... 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
|