このWindows 7 32ビットにpython3.3 x86(公式のpython.orgインストーラー)をインストールしました
次に、ここからPyQt4-4.10-gpl-Py3.3-Qt5.0.1-x32-2.exe、公式インストーラー、完全な PyQt4 インストール (Qt ランタイムを含む)から python3.3 windows x86 用の PyQt4-4.10 をインストールしました。
Python と PyQt4 の両方が $PATH にあることを再確認しました
しかし、一部のパッケージ (QtCore など) をインポートできるようですが、他のパッケージ (QtGui など) はインポートできないようです。
同じ道に並んでいるのに
>>> 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