0

I’ve been trying to pip install pyHook for about 3 hours and tried every method that I can possibly think of or find but I can’t seem to get it to work. I get the error:

Requirement ‘pyHook-1.5.1-cp37-cp37m-win32.whl’ looks like a filename,but file does not exist. Than it says pyHook-1.5.1-cp37-cp37m-win32.whl is not a supported wheel on this platform.

Please help.

Gonçalo Peres
  • 11,752
  • 3
  • 54
  • 83
Spacecase
  • 37
  • 1
  • 1
  • 6

3 Answers3

1
  1. Head over to this link
  2. Then find pyhook and install pyHook-1.5.1-cp37-cp37m-win32.whl.
  3. Go to cmd and type pip install followed by the path of your pyhook file. For example:

    C:\\user\download\pyHook-1.5.1-cp37-cp37m-win32.whl

RobC
  • 22,977
  • 20
  • 73
  • 80
Milad
  • 41
  • 2
  • the most recent version from 'this link' is not supported by python activestate 3.8.0 – Znik Jan 06 '20 at 08:52
0

Since you seem to have python3:

pip3 install pyHook

This should work.

You're also probably on a 64 bit Computer, so in the original wheel method, install the one with the _amd64 suffix.

ApprenticeHacker
  • 21,351
  • 27
  • 103
  • 153
-1

If one is using Windows, for installing pyHook, download the file related with your system version (32/64) from here.

Note that for whl files one may need to install the wheel package, as

pip install wheel

And then

pip install file_name.whl
Gonçalo Peres
  • 11,752
  • 3
  • 54
  • 83