title: Q: Install pyHook with pip for Python 2.7 on Windows
body: <p>My computer runs on Windows 7 (x64) and I installed Anaconda 2 and Anaconda 3 both in 32 bit version, to be able to use Python 2.7 or 3.5 depending on my projects. I'm trying to install pyHook for Python 2.7 and I'm struggling.</p>
  <p>I tried with pip and the first windows installer of <a href="http://www.lfd.uci.edu/%7Egohlke/pythonlibs/#pyhook" rel="nofollow noreferrer">this</a> page:</p>
  <blockquote>
  <p>pip install C:\Users\...\Downloads\pyHook-1.5.1-cp27-cp27m-win32.whl</p>
  </blockquote>
  <p>but I get the following error:</p>
  <blockquote>
  <p>pyHook-1.5.1-cp27-cp27m-win32.whl is not a supported wheel on this platform.</p>
  </blockquote>
  <p>Just to be sure I checked which version of pip is running and it turns out it is the one of Python 3. So I had a look on the web and found <a href="https://stackoverflow.com/questions/34803040/how-to-run-pip-of-different-version-of-python-using-python-command">this</a> and <a href="https://stackoverflow.com/questions/2812520/pip-dealing-with-multiple-python-versions">this</a> solutions. I tried them:</p>
  <blockquote>
  <p>pip-2.7 pip install pyhook</p>
  <p>py -2.7 pip install C:\Users\...\Downloads\Downloads\pyHook-1.5.1-cp27-cp27m-win32.whl</p>
  </blockquote>
  <p>But apparently python doesn't recognized any of these comands:</p>
  <blockquote>
  <p>'pip-27' is not recognized as an internal or external command...</p>
  <p>C:\Program Files (x86)\Anaconda2\python.exe: can't open file 'pip': [Errno 2] No such file or directory</p>
  </blockquote>
  <p>I must admit that I'm out of idea. Has anyone already encountered this problem?</p>