我是Ubuntu OS,在pycharm中尝试安装this python脚本时遇到这个错误,它需要安装pyHook模块,但得到了这个错误:

Collecting pyHook
Could not find a version that satisfies the requirement pyHook (from versions: )
No matching distribution found for pyHook在终端中也会得到这个错误:
so@so-notebook:~/Desktop/trash/t$ sudo python -m pip install pyHook
[sudo] password for so:
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
WARNING: The directory '/home/so/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
ERROR: Could not find a version that satisfies the requirement pyHook (from versions: none)
ERROR: No matching distribution found for pyHook我的Ubuntu OS版本是:
so@so-notebook:~/Desktop/trash/t$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic谢谢。
发布于 2020-06-14 06:16:24
无法从PyPI安装pyHook,您需要从以下位置获取它:https://sourceforge.net/projects/pyhook/files/
https://stackoverflow.com/questions/62366153
复制相似问题