Closed SpecialCharacter closed 3 years ago
Thank you for your report.
This issue is similar to #312 , but none of the modules you list are direct dependencies of pynput. The documentation contains some hints on how to make pynput work with packers, but for information on how to include the other dependencies I have to direct you to the documentation for those tools.
I have a similar kind of problem as #362, but only after I turn .py into .exe with pyinstaller or py2exe (Windows 10, python 3.9.2, pyinstaller 4.2). My .py script itself executes just fine.
Pyinstaller lists ~20 modules as missing, py2exe only four:
4 missing Modules
? Quartz imported from SCRIPT ? _posixshmem imported from multiprocessing.resource_tracker, multiprocessing.shared_memory ? readline imported from cmd, code, pdb ? resource imported from test.support
Is it an incompatibility between pynput and pyinstaller? Or should I remove my python installation and start from from scratch?