Pyinstaller无法导入pynput模块
嘿,我尝试编写一个脚本,在其中使用 pynput 来检测按下的按键绑定。它本身工作正常,但遗憾的是,一旦我尝试使用 pyinstaller 将其制作成 exe 文件,一旦我尝试运行它,就会弹出以下错误。
我已尝试查找问题,但尚未找到任何有效的解决方案。 我还阅读了 pyinstaller 的文档,但没有找到任何内容。
Hey ive tried coding a script in which i use pynput to detect keybinds being pressed. It works fine itself but sadly once i try to use pyinstaller to make it into an exe file the following error pops up once i try to run it.
I have tried looking up the problem but have not found any working solutions.
I have also read through pyinstaller's documentation but I didn't find anything.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
#使用这个
pip install pynput==1.6.8
#use this
pip install pynput==1.6.8