我在Windows7 64 位机器上使用PyQt-Py3.3-x64-gbl-4.9.5-1包。我只是想从 PyQt 开始,所以只是创建了一个简单的窗口,但是当我执行命令来创建代码时,我得到了这个错误。任何帮助将不胜感激。
c:\Python33\Lib\site-packages\PyQt4>pyuic4 -o FirstApp.py -x FirstApp.ui
Traceback (most recent call last):
File "C:\Python33\Lib\site-packages\PyQt4\uic\pyuic.py", line 31, in <module> from PyQt4 import QtCore
ImportError: DLL load failed: %1 is not a valid Win32 application.