Python:ModuleNotFoundError: No module named 'windows'

pymouse安装后,又出现了ModuleNotFoundError: No module named 'windows'的错误

解决:

下载安装pyhook:http://www.lfd.uci.edu/~gohlke/pythonlibs/

ctrl+f 查找

安装

pip install D:DesktopDownloadpyHook-1.5.1-cp37-cp37m-win_amd64.whl

安装成功后,再安装

pip install PyUserinput

运行文件就没有ModuleNotFoundError: No module named 'windows'提示了。

参考:

https://blog.csdn.net/ligang_csdn/article/details/54667295

http://www.lfd.uci.edu/~gohlke/pythonlibs/

https://blog.csdn.net/weixin_38917807/article/details/81667041

原文地址:https://www.cnblogs.com/sea-stream/p/10362884.html