mHelpMe
mHelpMe

Reputation: 6668

pip install a specific version of PyQt5

I am using spyder & want to install finplot. However when I did this I could not open spyder and had to uninstall & reinstall anconda.

The problem is to do with PyQt5 as I understand. The developer of finplot said that one solution would be to install PyQt5 version 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

My question is how would I do this? To install finplot I used the line below,

pip install finplot

Is there a way to specify that it should only install PyQt5?

Upvotes: 1

Views: 11174

Answers (1)

Mclovin
Mclovin

Reputation: 61

As far as I understand you just want to install PyQT5 version 9.0.You can try this below if you got pip installed on your machine

pip install PyQt5==5.9

Edit: First you need to uninstall your pyQT5 5.13

pip uninstall PyQt5

Upvotes: 3

Related Questions