taojy123 / KeymouseGo

类似按键精灵的鼠标键盘录制和自动化操作 模拟点击和键入 | automate mouse clicks and keyboard input
http://taojy123.github.io/KeymouseGo
GNU General Public License v2.0
7.15k stars 1.04k forks source link

调试的时候报错, win11 python3.9 #187

Closed seualphagit closed 1 year ago

seualphagit commented 1 year ago

(<class 'ImportError'>, ImportError("cannot import name 'cpyHook' from partially initialized module 'pyWinhook' (most likely due to a circular import)

ZutJoe commented 1 year ago

不好意思,回的比较晚。 这个模块目前不能通过pip 下来,需要通过本地来加载 通过这个网站下载相关模块,再从本地安装 https://www.lfd.uci.edu/~gohlke/pythonlibs/

ZutJoe commented 1 year ago

pyWinhook-1.6.2-cp310-cp310-win_amd64.zip

或者您可以直接下载这个压缩包,然后通过这个方式 https://www.cnblogs.com/emanlee/p/14333005.html ,如果不想进路径,可以直接在*.whl前加上文件路径