python pyqt5、pyqt5 tools安装失败

安装pyqt5失败

安装失败大概率是python版本过高,安装3.7版本python(多版本共存 ),升级pip
报错:
ERROR: Could not build wheels for sip which use PEP 517 and cannot be installed directly
升级pip

python -m pip install --upgrade pip

安装pyqt5(使用清华源安装)

pip install pyqt5 -i https://pypi.tuna.tsinghua.edu.cn/simple/

安装pyqt5-tools

pip install pyqt5-tools -i https://pypi.tuna.tsinghua.edu.cn/simple/

升级pip、安装pyqt5
安装pyqt5-tools
python版本3.7.6
安装完后配置开发工具,找不到desinger.exe建议直接搜索文件

安装目录下\Python\Lib\site-packages\qt5_applications\Qt\bin

在这里插入图片描述

https://blog.csdn.net/pynewwu/article/details/122978252
https://blog.csdn.net/yuanfate/article/details/118931158

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐