当前位置:   article > 正文

pyqt5报错记录:ERROR: Failed building wheel for PyQt5-sip_error: could not build wheels for pyqt5-sip, which

error: could not build wheels for pyqt5-sip, which is required to install py

按照常规流程,准备使用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

刚开始怀疑是缺少wheel和sip相关的包,有尝试下面两个

pip install wheel 
pip install sip

下载后重新下载pyqt

依旧报错:

定位到分割线上的error: Microsoft Visual C++ 14.0 or greater is required.

点击报错行的链接跳转到官网下载

放两个安装参考链接:

Microsoft Visual C++ 14.0 is required解决方法

PyQt5-sip报错Building wheel for PyQt5-sip (pyproject.toml) ... error_building wheel for pyqt5-sip (pyproject.toml) did -CSDN博客

按照图内的勾选,开始下载:

安装后,重新pip下载pyqt,记得指定版本号

pip3 install PyQt5==5.13-i https://pypi.tuna.tsinghua.edu.cn/simple

下载完成

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/2023面试高手/article/detail/100706
推荐阅读
相关标签
  

闽ICP备14008679号