I installed python3.3 x86 (official python.org installer) in this 32-bit window 7
then installed PyQt4-4.10 for python3.3 windows x86 from here PyQt4-4.10-gpl-Py3.3-Qt5.0.1-x32-2.exe , the official installer too, the full installation of PyQt4 (including Qt Runtime)
I double checked that both python and PyQt4 are on $ PATH
but it seems that I can import some packages (e.g. QtCore), but not others (e.g. QtGui)
although they are side by side on the same path
>>> from PyQt4 import QtCore >>> QtCore.__file__ 'C:\\Python33\\lib\\site-packages\\PyQt4\\QtCore.pyd' >>> from PyQt4 import QtGui Traceback (most recent call last): File "<pyshell#2>", line 1, in <module> from PyQt4 import QtGui ImportError: DLL load failed: The specified module could not be found. >>> import os >>> os.path.exists('C:\\Python33\\lib\\site-packages\\PyQt4\\QtGui.pyd') True >>> from PyQt4 import Qt >>> from PyQt4 import QtXml >>> from PyQt4 import QtNetwork >>> from PyQt4 import QtDesigner Traceback (most recent call last): File "<pyshell#8>", line 1, in <module> from PyQt4 import QtDesigner ImportError: DLL load failed: The specified module could not be found. >>> os.path.exists('C:\\Python33\\lib\\site-packages\\PyQt4\\QtDesigner.pyd') True
source share