Search code examples
pythonpython-wheelpyhook

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.

  • Python version 2.7
  • pip version 6.0.6

Solution

  • 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