4

im trying to install the pyHook package in pycharm but get the error in the title. I have successfully installed it in cmd with pip install pyHook-1.5.1-cp37-cp37m-win_amd64.whl ,but when I go to install it in pycharm I get the aforementioned error :

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

questionasker
  • 2,536
  • 12
  • 55
  • 119
NotaPowVirgin
  • 69
  • 1
  • 7
  • What error did you get ? please write logs detail – questionasker Jul 05 '19 at 01:19
  • Collecting pyHook Could not find a version that satisfies the requirement pyHook (from versions: ) No matching distribution found for pyHook – NotaPowVirgin Jul 05 '19 at 01:20
  • this file is for 3.7 (cp3.7) - maybe PyCharm uses different Python's version? Did you try to install directly from server `pip install pyHook` ? If you know path to Python used by PyCharm then you can use this Python in `cmd` – furas Jul 05 '19 at 01:27
  • pycharm is using 3.7 and I installed with pip install pyHook and it says requirement already satisfied in cmd – NotaPowVirgin Jul 05 '19 at 01:33

2 Answers2

2

I ran into this problem myself, and after alot of searching, found that although pyhook has wheels for python 3, it's incompatible. Look at the last release date for pyhook: October 10th 2008. Python 3 was released in: December 3rd 2008.

I would suggest that you look into the keyboard module. It supports python 3, and has all of the functions of pyhook as far as I know.

Legorooj
  • 2,646
  • 2
  • 15
  • 35
1

Solved this problem by fixing the package version: PyUserInput==0.1.10

Tim Uzlov
  • 181
  • 2
  • 6