当前位置:   article > 正文

anaconda Pycharm安装 pyqt5/pyqt5-tools/pyqtwebengine_pyqt5 5.13.2对应pyqt5-tools版本

pyqt5 5.13.2对应pyqt5-tools版本

anaconda中安装pyqt5出现

终端中pip安装pyqt5使用

pip install pyqt5 pyqt5-tools
  • 1

出现如下错误

pip._vendor.urllib3.exceptions.ReadTimeoutError:
 HTTPSConnectionPool(host=
 'pypi.tuna.tsinghua.edu.cn', port=443):
  Read timed out.
  • 1
  • 2
  • 3
  • 4
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
  • 2
  • 3
  • 4

为了解决如上错误

  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`
  • 1
  • 2
  • 3
#2.安装pyqtwebengine==5.12.0语句
pip install pyqtwebengine==5.12.0 
-i http://pypi.douban.com/simple --trusted-host pypi.douban.com
  • 1
  • 2
  • 3
#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
  • 1
  • 2
  • 3

镜像:-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

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

闽ICP备14008679号