How to install PyQt4 on Windows using pip?
Here are Windows wheel packages built by Chris Golke - Python Windows Binary packages - PyQt
In the filenames cp27
means C-python version 2.7, cp35
means python 3.5, etc.
Since Qt is a more complicated system with a compiled C++ codebase underlying the python interface it provides you, it can be more complex to build than just a pure python code package, which means it can be hard to install it from source.
Make sure you grab the correct Windows wheel file (python version, 32/64 bit), and then use pip to install it - e.g:
C:\path\where\wheel\is\> pip install PyQt4-4.11.4-cp35-none-win_amd64.whl
Should properly install if you are running an x64 build of Python 3.5.
How to install PyQt4 for Python 3.6 in windows 10
Try installing the binary from http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyqt4
Make sure you choose the right 32 or 64 bits version.
Related Topics
Set Markers for Individual Points on a Line in Matplotlib
Speed Comparison with Project Euler: C VS Python VS Erlang VS Haskell
Interpolate Nan Values in a Numpy Array
Removing a List of Characters in String
Remove Namespace and Prefix from Xml in Python Using Lxml
Converting an Rgb Color Tuple to a Hexidecimal String
Load CSV Data into MySQL in Python
How to Uninstall a Package Installed with Pip Install --User
What Is the Time Complexity of Popping Elements from List in Python
I Can't Seem to Get --Py-Files on Spark to Work
Accessing Attributes on Literals Work on All Types, But Not 'Int'; Why
Global Variable from a Different File Python
What Is the _Dict_._Dict_ Attribute of a Python Class
String to Dictionary in Python