ancoda3+pyqt5+eric安装

王磊的程序员之路 2019-12-06

其余的安装过程网上很清楚,注意的就是安装的版本,pip默认安装的是最新版,但由于一些包的内核是QT的,因此会产生版本冲突的错误
利用,pip check可以查看需要的版本

(base) C:\windows\system32>pip check
spyder 3.3.6 requires pyqt5, which is not installed.
pyqtwebengine 5.13.2 requires pyqt5, which is not installed.
astroid 2.3.1 requires typed-ast, which is not installed.
xlwings 0.15.10 has requirement pywin32>=224, but you have pywin32 223.
spyder 3.3.6 has requirement pyqtwebengine<5.13; python_version >= "3", but you have pyqtwebengine 5.13.2
然后按照提示安装相应的版本即可
(base) C:\windows\system32>pip install pyqt5==5.12.0
Collecting pyqt5==5.12.0
Downloading https://files.pythonhosted.org/packages/a7/83/9acca4c6cc220f29607d857d87bcc1bd645daa4c5f8cff9958f60c5228a8/PyQt5-5.12-5.12.1_a-cp35.cp36.cp37.cp38-none-win_amd64.whl (49.4MB)
|▌ | 808kB 105kB/s eta 0:07:39

相关推荐

王磊的程序员之路 / 0评论 2020-06-26
lianback / 0评论 2020-05-19