Привет! Почему PyInstaller не компилирует модуль "pynput"?
1.py:
Код:
import pynput
input('')
1.exe
Ошибка в cmd:
C:\Users\User\Desktop>1.exe
Traceback (most recent call last):
File "1.py", line 1, in <module>
import pynput
File "c:\users\user\appdata\local\programs\python\python37\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 "c:\users\user\appdata\local\programs\python\python37\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 82, in backend
ImportError
[4856] Failed to execute script 1