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:\Desktop\Download\pyHook-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

posted @ 2019-02-11 19:02  anobscureretreat  阅读(3943)  评论(0编辑  收藏  举报