我在 Qt4 Designer 中创建了 notepad.ui 文件,并尝试通过命令创建 notepadwindow.py 文件
pyuic4.bat notepad.ui -o notepadwindow.py
结果我得到了以下错误
Traceback (most recent call):
File "C:\Python27\Lib\site-packages\PyQt4\uic\pyuic.py" line 31, in <module>
from PyQt4 import QtCore
Import Error: DLL load failed: %1 then something strange on a different encoding Win32.