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
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
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, ie PyQt4-4.11.4-cp27-cp27m-win32.whl - click here to see more versions .
Kindly select appropriate version of PyQt4 according to your installed python version.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.