Rachuri Ravi Teja
Rachuri Ravi Teja

Reputation: 33

How to install PyQt4 on Windows?

I'm using Python 2.7 (Spyder3) and I'm unable to import PyQt4? I have tried the following

pip install PyQt4

pip install python-qt4

conda install PyQt4

conda install python-qt4

Could not find a version that satisfies the requirement python_qt4 (from versi ons: ) No matching distribution found for python_qt4

Similar error for all None works

Upvotes: 1

Views: 23191

Answers (3)

B-shan
B-shan

Reputation: 404

Error: PyQt4-4.11.4-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.

My system type is 64 bit, But to solve this error I have installed PyQt4 of 32 bit windows system, i.e PyQt4-4.11.4-cp27-cp27m-win32.whl - click here to see more versions.

output image

Kindly select appropriate version of PyQt4 according to your installed python version.

Upvotes: 0

Carson
Carson

Reputation: 152

you can download it from here and compile it

pip download isuess tell you, I think it can help you.

hopes to help you.

Upvotes: 1

Hjalte J.
Hjalte J.

Reputation: 109

How to install PyQt4 on Windows using pip?

Download the right .whl file for your OS from http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyqt4 And use pip install filename.whl

Upvotes: 6

Related Questions