PyQt4似乎在Windows 8 64bit上运行的Python 2.7.5上工作正常。通过cmd
使用交互式shell:
Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt4.QtGui import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: DLL load failed: %1 is not a valid Win32 application.
问题:突然之间是什么导致了这个问题?