After convert python script to exe when I run script.exe with double click it flash cmd and when run it by cmd the error down appear?
Traceback (most recent call last):
File "key_store.py", line 1, in <module>
File "PyInstaller\loader\pyimod03_importers.py", line 531, in exec_module
File "pynput\__init__.py", line 40, in <module>
File "PyInstaller\loader\pyimod03_importers.py", line 531, in exec_module
File "pynput\keyboard\__init__.py", line 31, in <module>
File "pynput\_util\__init__.py", line 76, in backend
ImportError
[8904] Failed to execute script key_store
After convert python script to exe when I run script.exe with double click it flash cmd and when run it by cmd the error down appear?
Traceback (most recent call last):
File "key_store.py", line 1, in <module>
File "PyInstaller\loader\pyimod03_importers.py", line 531, in exec_module
File "pynput\__init__.py", line 40, in <module>
File "PyInstaller\loader\pyimod03_importers.py", line 531, in exec_module
File "pynput\keyboard\__init__.py", line 31, in <module>
File "pynput\_util\__init__.py", line 76, in backend
ImportError
[8904] Failed to execute script key_store
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.