你好,有没有人成功地在最新的python版本上安装了pyHook?
C:\Users\T>python --version
Python 3.6.4
C:\Users\T>pip install pyHook
Collecting pyHook Could not find a version that satisfies the requirement pyHook (from versions: ) No matching distribution found for pyHook
C:\Users\T>pip install pyHook-1.5.1-cp36-cp36m-win_amd64.whl
pyHook-1.5.1-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform.
到目前为止我试过的所有东西都不起作用。
发布于 2018-02-09 20:18:09
1)你会想要访问https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyhook下载名称中有"36“的版本。
2)打开cmd、git cmd或git bash,
*在cmd上,将目录更改为pip和whl文件的存储位置,键入pip install (whl名称,版本名称中包含36 )
*git cmd也是一样的
*在git bash上,用cd进入带有whl和pip的目录,然后键入./pip install (whl名称)
我和你有同样的问题,但结果发现唯一的问题是我正在下载的文件版本。确保您下载的版本与您正在使用的Python兼容。
https://stackoverflow.com/questions/48327695
复制相似问题