[PyQt] PyQt4 Installation Issues

Justyn Chaykowski frawst at live.ca
Tue Mar 29 00:39:17 BST 2016


>>Update.
>>I don't have Qt installed. Would this cause the import error?
>>If so that may be my problem, and I will have to wait until later in the evening to install Qt itself and try again.
>>However if that wouldn't cause the problem... Any ideas? :P

Hello,

I've installed PyQt4 through the .whl files available at http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyqt4 . I have not been able to figure out how to install it any other way, while I've learned that PIP cannot do it alone - and I cannot for the life of me get the GnuWin32 'make' command to work on SIP, ostensibly barring me from using the same install functionality on PyQt4. The issue is common, you've all seen it before: 

ImportError: No module named 'PyQt4'.

I am running python 3.5.1 64-bit on a 64-bit machine, so I have installed the py35 64-bit version. This is where the error occurs. I am simply trying to:

>> import PyQt4

Since that hasn't worked, I have attempted to install the 32bit version - same error. I then tried the same process of installing the 64 bit and 32 bit versions onto my python 3.4 release respectively. Always with the same error.

I have also tried running the pyqtconfig.py file that comes with the releases, though I do not even know what it is meant to do - when these packages usually work out of the box. Anybody have any ideas? 		 	   		   		 	   		  

_______________________________________________
PyQt mailing list    PyQt at riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160328/8fbca2cb/attachment.html>


More information about the PyQt mailing list