pyinstaler创建的.exe上的问题

时间:2020-11-06 13:54:49

标签: python pyinstaller

我用pyinstaler创建了一个.exe,但是它没有打开,只是创建了一个cmd窗口并关闭了几秒钟,幸运的是,我可以在适当的时候拍摄cmd的照片,并且这样写:

traaceback (most recent last call last):
File "TEST.py", line 1, in <module> 
File "c: \ users \*****\ appdata \ local \ programs \ python \ python38-32 \ lib \ site-packages \ 
PyInstaller  \ loader \ pyimode3_importers py ", line 493, in exec_module 
   exec (bytecode, module.dict) 
File" pynput_init_.py ", line 40, in <module> 
File" c: \ users \*****\ appdata \ local \ programs \ python  \ python38-32 \ lib \ site-packages \ 
PyInstaller \ loader \ pyimod03_importers py ", line 493, in exec_module
exec (bytecode, module.dict) File" pynput \ keyboard \ _ init-py ", line 31, in <module  
File "pynputLutil \ _init_.py", line 76, in the ImportError backend
[40412] Failed to run the TEST script

我不知道这意味着什么以及如何解决该问题,我首先在auto-py-to-exe上进行了尝试,并给出了此结果,因此我尝试使用pyinstaller TEST由cmd手动进行但两者的结果相同。 如果有人可以帮助我,谢谢

0 个答案:

没有答案