简体   繁体   中英

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. I want to use pyHook for one of my projects. However, I've had no luck at finding a version of pyHook for python 3.5. There seems to be many people directing others to the following site: 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. Whenever I try to install the file using pip, I get the following error:

Could not find a version that satisfies the requirement pyHook (from versions: ) No matching distributions found for 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. 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. 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. Happy programming, all!

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/ ),除非您已经尝试过并且没有运气。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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