PyHook on python 3.5

后端 未结 2 1754
走了就别回头了
走了就别回头了 2021-01-12 03:19

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 pyho

相关标签:
2条回答
  • 2021-01-12 03:46

    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

    0 讨论(0)
  • 2021-01-12 03:58

    If your pip install have not success. Try -> when you download a pyHook-1.5.1-cp27-none-win32.whl file from http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyhook After that move file to Programs\Python\Python35-32\Scripts path and then pip install pyHook-1.5.1-cp27-none-win32.whl I hope my answer is useful for you.

    0 讨论(0)
提交回复
热议问题