Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyHook on python 3.5

I am trying to write a basic keylogging program on python. I need to install the pywin32 and pyhook modules. I have managed to get pywin32 installed, but cannot seem to pyhook to work. I have read its possible to get it to work on later versions of python, but cannot seem to figure it out. I have tried both .exe and .whl installs. Using whl in cmd gives error that the wheel is not supported. Does anyone have a solution to install pyhook on python 3.5. Thanks

like image 572
Vladamir Avatar asked Feb 04 '16 13:02

Vladamir


1 Answers

This is how I did it...

  1. Download the py hook module that matches your version of python from here. Make sure that if you have python 32 bit you download the 32 bit module (even if you have windows 64x) and vice versa.

  2. Open your command prompt and navigate to the folder where you downloaded the module

  3. Type "pip install " and then the name of the file.

    Ex: "pip install pyHook-1.5.1-cp27-none-win32.whl"

Note : you need pip

like image 185
staad Avatar answered Sep 21 '22 15:09

staad