打包好的exe不能正常运行,大神帮忙看看
Traceback (most recent call last):File "main_start.py", line 16, in <module>
File "d:\python\python3.8\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
exec(bytecode, module.__dict__)
File "keyboard.py", line 12, in <module>
File "d:\python\python3.8\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
exec(bytecode, module.__dict__)
File "pynput\__init__.py", line 40, in <module>
File "d:\python\python3.8\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 "pynput\_util\__init__.py", line 76, in backend
ImportError
Failed to execute script main_start 将当前版本的pynput库卸载了:pip uninstall pynput
让后再重新安装1.6.8版本的:pip install pynput==1.6.8 hrp 发表于 2021-1-19 11:14
将当前版本的pynput库卸载了:pip uninstall pynput
让后再重新安装1.6.8版本的:pip install pynput==1.6 ...
大佬,怎么找到是这个问题的? quechua128 发表于 2021-1-19 11:31
大佬,怎么找到是这个问题的?
报错提示pynput出错了
页:
[1]