pyinstaller:无法执行脚本pyi_rth_pkgres

时间:2019-11-14 04:23:27

标签: pyinstaller pyside2

在Windows 10上,Pyinstaller(3.4)打包的GUI出现以下运行时错误。下一步的调试是什么?

主窗口根本没有出现。

...
import imp # PyInstaller PYZ
Traceback (most recent call last):
  File "site-packages\PyInstaller\loader\rthooks\pyi_rth_pkgres.py", line 11, in <module>

   ......

  File "imp.py", line 33, in <module>
DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
[8180] Failed to execute script pyi_rth_pkgres

0 个答案:

没有答案