pip安装特定版本的PyQt5

2024-09-28 22:25:03 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在使用spyder&;要安装finplot。然而,当我这样做时,我无法打开spyder,不得不卸载&;重新安装anconda

据我所知,问题与PyQt5有关。finplot的开发人员表示,一种解决方案是安装PyQt5 5.9版

Error: spyder 4.1.3 has requirement pyqt5<5.13; python_version >= "3", but you'll have pyqt5 5.13.0 which is incompatible

我的问题是我该怎么做?为了安装finplot,我使用了下面的行

pip install finplot

有没有办法指定只安装PyQt5


Tags: you开发人员versionerrorrequirement解决方案pyqt5but