【问题标题】:PyHook for Python 3.6用于 Python 3.6 的 PyHook
【发布时间】:2018-07-18 13:58:15
【问题描述】:

你好,有没有人在上一个 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.

到目前为止,我所做的一切都没有奏效。

【问题讨论】:

    标签: python windows-10 pyhook


    【解决方案1】:

    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 name)

    我遇到了和你一样的问题,但原来唯一的问题是我下载的文件版本。确保您下载的版本与您正在使用的 Python 兼容。

    【讨论】:

      猜你喜欢
      • 2017-11-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-27
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多