PyQt5将.ui转换为.py文件

时间:2019-10-13 10:49:05

标签: pyqt5

我无法将我的.ui文件转换为.py,并且出现错误消息。通过该站点上的一些可用资源查看,但无济于事。有人知道我要注意什么吗?

C:\Users\SK\Desktop\ICT_project>C:\Users\SK\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyQt5\pyuic5.bat -x Northspine.ui -o Northspine.py
  File "C:\Users\SK\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
  File "C:\Users\SK\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\SK\AppData\Local\Programs\Python\Python37\lib\site-packages\PyQt5\uic\pyuic.py", line 26, in <module>
from PyQt5 import QtCore
ImportError: DLL load failed: The specified module could not be found.

0 个答案:

没有答案