美文网首页
ERROR: spyder 4.1.1 requires pyq

ERROR: spyder 4.1.1 requires pyq

作者: wfaceboss | 来源:发表于2021-04-18 11:39 被阅读0次

1、问题描述

ERROR: spyder 4.1.4 requires pyqt5<5.13; python_version >= "3", which is not installed.
ERROR: spyder 4.1.4 requires pyqtwebengine<5.13; python_version >= "3", which is not installed.
image.png

2、原因

Spyder不是最新版本,而pyqtwebengine和pyqt5的版本是最新的,出现了不匹配的问题。

3、解决办法

更新Spyder

①打开Anaconda Prompt,通过pip install spyder==*可以查看Spyder的版本

image.png

②使用命令安装Spyder

pip install spyder==4.1.4

或者

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ spyder==4.1.4

更新完成后,Spyder终于可以正常使用了

相关文章

网友评论

      本文标题:ERROR: spyder 4.1.1 requires pyq

      本文链接:https://www.haomeiwen.com/subject/menmlltx.html