anaconda Pycharm安装 pyqt5/pyqt5-tools/pyqtwebengine

anaconda中安装pyqt5出现

终端中pip安装pyqt5使用

pip install pyqt5 pyqt5-tools

出现如下错误

pip._vendor.urllib3.exceptions.ReadTimeoutError:
 HTTPSConnectionPool(host=
 'pypi.tuna.tsinghua.edu.cn', port=443):
  Read timed out.
ERROR: spyder 4.0.1 requires pyqtwebengine<5.13;
python_version >= "3", which is not installed.
ERROR: pyqt5-tools 5.13.0.1.5 has requirement
pyqt5==5.13.0, but you'll have pyqt5 5.12.1 which is incompatible.

为了解决如上错误

  1. 安装pyqt5==5.12.1
  2. 安装pyqtwebengine==5.12.0
  3. 安装pyqt5-tools==5.12.1.1.5rc4
#1.安装pyqt5语句
pip install pyqt5==5.12.1 
-i http://pypi.douban.com/simple --trusted-host pypi.douban.com`
#2.安装pyqtwebengine==5.12.0语句
pip install pyqtwebengine==5.12.0 
-i http://pypi.douban.com/simple --trusted-host pypi.douban.com
#3.安装pyqt5-tools==5.12.1.1.5rc4语句
pip install pyqt5-tools==5.12.1.1.5rc4 
-i http://pypi.douban.com/simple --trusted-host pypi.douban.com

镜像:-i http://pypi.douban.com/simple --trusted-host pypi.douban.com

本文借鉴

https://blog.csdn.net/simonforfuture/article/details/103962936
https://blog.csdn.net/qq_42466324/article/details/104594472

  • 5
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值