首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >收集pyHook找不到满足要求pyHook的版本

收集pyHook找不到满足要求pyHook的版本
EN

Stack Overflow用户
提问于 2020-06-14 06:13:52
回答 1查看 94关注 0票数 0

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

代码语言:javascript
复制
Collecting pyHook

  Could not find a version that satisfies the requirement pyHook (from versions: )
No matching distribution found for pyHook

在终端中也会得到这个错误:

代码语言:javascript
复制
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版本是:

代码语言:javascript
复制
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

谢谢。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-06-14 06:16:24

无法从PyPI安装pyHook,您需要从以下位置获取它:https://sourceforge.net/projects/pyhook/files/

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/62366153

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档