[PyQt] PyQt4 Installation Issues

Justyn Chaykowski frawst at live.ca
Tue Mar 29 01:20:24 BST 2016

>>>> Update 2
>>>> I got it to work... fml.
>>>> Been at this, a hundred different angles for the last 18 hours.
>>>> All I did was take the Binary 64 bit installer for py3.4 from riverbank, and install it.
>>>> Miraculously, it worked. I lost my mind.
>>>> I installed it into the 3.5 lib instead, and it worked.
>>>> I'll be damned. Sorry for clogging up your guys' mailboxes.

>>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


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

PyQt mailing list    PyQt at riverbankcomputing.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160328/85ff02ef/attachment-0001.html>

More information about the PyQt mailing list