TheBumpper
TheBumpper

Reputation: 55

Python error when installing package using wheel files

I am trying to install pyHook with a wheel file (.whl) but for some reason it keeps giving me this error:

pyHook-1.5.1-cp34-none-win_amd64.whl is not a supported wheel on this platform.

I got the wheel file from this website:

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

The command I use is:

pip install pyHook-1.5.1-cp34-none-win_amd64.whl

I have no idea what to do, I cant find any suggestions.

Upvotes: 1

Views: 5658

Answers (3)

Jack
Jack

Reputation: 1

You may not have installed the correct one for your operating system check whether it is the 32 bit or 64 bit variant and install it again

Upvotes: -1

urbanmonk
urbanmonk

Reputation: 48

I ran into the same issues whilst trying to install pyhook on Python 3.4. I downloaded the correct version from python software foundation.

I had to manually change the name of the file from pyHook_3k_compiled-1.5.1-cp34-cp34m-win_amd64.whl to pyHook-1.5.1-cp34-none-win_amd64.whl.

pip install pyHook-1.5.1-cp34-none-win_amd64.whl 

And it worked!

Upvotes: 2

Martijn Pieters
Martijn Pieters

Reputation: 1121346

You are installing a Wheel created for Python 3.4, into Python 2.7. That won't work. Use the correct version and download the one with cp27 in the name:

pyHook‑1.5.1‑cp27‑none‑win_amd64.whl

Upvotes: 4

Related Questions