First of all, win32 is not a pyHook module, it is a different module.
Here's how to install pyHook:
1.You can find the download link here http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyhook
2. If you have 32-bit python, you want 32-bit pyhook (Download # 1 for Python 2.7).
3. If you have 64-bit python, you want a 64-bit pyHook (Download # 2 for Python 2.7).
4. Extract the zip file.
5. At the command prompt, navigate to the folder in which you extracted the .zip.
6. Enter the command 'pip install pyHook-1.5.1-cp27-none-win32.whl' for the 32-bit version or 'pip install pyHook-1.5.1-cp27-none-win_amd64.whl'
Good luck
source share