简体   繁体   English

安装pyHook 3.5

[英]Install pyHook 3.5

I started coding with python about a month or so ago, and I've only just recently started using other modules within my code. 我大约一个月前开始使用python进行编码,而直到最近才开始在代码中使用其他模块。 I want to use pyHook for one of my projects. 我想对我的项目之一使用pyHook。 However, I've had no luck at finding a version of pyHook for python 3.5. 但是,我没有为python 3.5找到pyHook的版本。 There seems to be many people directing others to the following site: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyhook 似乎有很多人将其他人引导到以下站点: http : //www.lfd.uci.edu/~gohlke/pythonlibs/#pyhook

I have tried the files listed on the site, and they don't seem to be compatible with Python 3.5. 我已经尝试了网站上列出的文件,但它们似乎与Python 3.5不兼容。 Whenever I try to install the file using pip, I get the following error: 每当我尝试使用pip安装文件时,都会出现以下错误:

Could not find a version that satisfies the requirement pyHook (from versions: ) No matching distributions found for pyHook 找不到满足pyHook要求的版本(来自版本:)找不到pyHook的匹配发行版

I've seen videos of people installing pyHook from this site, and there are more versions no longer listed that are available for python 3.x. 我看过从该站点安装pyHook的人们的视频,并且不再列出可用于python 3.x的更多版本。 Why were they taken down, if anyone knows? 如果有人知道,他们为什么要撤下来? I've tried downloading it from other sites, and they all seem to carry the same versions listed on this sight. 我尝试从其他站点下载它,它们似乎都带有此视域中列出的相同版本。 How can I get the version I need? 如何获得所需的版本? Or am I just installing it wrong and/or being stupid? 还是我只是安装错误和/或愚蠢? If more info is needed, feel free to ask. 如果需要更多信息,请随时询问。 Thanks in advance! 提前致谢!

I know this question was asked quite a long time ago, and I have moved on since, but for any who may be experiencing this problem, it can be easily solved by going to the following link and installing the version of pyhook that will run for python 3.5. 我知道这个问题是很久以前问过的,此后我一直在继续,但是对于任何可能遇到此问题的人,可以通过以下链接并安装要运行的pyhook版本来轻松解决。 python 3.5。 For 64-bit OS's, get pyHook-1.5.1-cp35-none-win_amd64.whl, and for 32 bit OS's get pyHook-1.5.1-cp35-none-win32.whl. 对于64位操作系统,请获取pyHook-1.5.1-cp35-none-win_amd64.whl,对于32位操作系统,请获取pyHook-1.5.1-cp35-none-win32.whl。 Happy programming, all! 祝大家编程愉快!

http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyhook http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyhook

您可以尝试安装https://github.com/Answeror/pyhook_py3k (请参阅https://www.reddit.com/r/Python/comments/2crput/how_to_install_with_pip_direct_from_github/ ),除非您已经尝试过并且没有运气。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM