I tried to install pyHook, but all I seem to get when I try to run my program in the python shell to test it is this.

ImportError: No module named pyHook

I keep trying, and I have PyWin32, so I tried to install it like that by typing into admin cmd:

start python.exe Scripts\pyHook_postinstall -install

Nope. It still isn't installed. How can I get the module to actually be usable?

In windows OS, the best solution is often to install a module from Christoph Gohlke's python binaries for windows. PyHook is <Here>.

Edit: Download the wheel file (.whl), then type pip install <filename.whl>

Edited 5 Months Ago by Gribouillis

I have downloaded the .whl file, so I'll try that. Thanks!
Results: I tried to do that with my cmd, and got this:

'pip' is not recognized as an internal or external command, operable program or batch file.

By the way, if it changes anything, I am running Windows 8 on my computer.

Edited 5 Months Ago by Pyscript.exe: Tested method, didn't work.

Hey, by the way, my pywin32 actually did not install by the cmd that I put in, but I used pip to get it, so it's installed now.

T
H
A
N
K

Y
O
U
!
!
!
This question has already been answered. Start a new discussion instead.