0

I have for two days been trying to install pyHook and i cannot seem to find one which is compatible with python 3.7, is it available and if yes where can I find it and if not how what can I do to get the one for previous versions to work on

1 Answer 1

1

A simple pip search pyhook gives:

pyHook (1.5.1)              - pyHook: Python wrapper for out-of-context input hooks in Windows
pyHook-3k-compiled (1.5.1)  - pyHook: Python wrapper for out-of-context input hooks in Windows
mypyHook (1.5.2)            - A pyHook module from parlente for my personal use
pyWinhook (1.6.1)           - A pyHook module fork from Peter P. with some updates.
pyhooked (0.8.1)            - Pure Python hotkey hook, with thanks to pyHook, pywinauto, and pyhk

A little testing show that the last two both install successfully into Python 3.7 on Windows 10 with the usual pip install command. pip install pyhooked pip install pyWinhook

5
  • 1
    The newest version is from 2008. How does this answer cover the question’s compatibility issues with Python 3.7?
    – Eric S
    Commented May 6, 2019 at 2:12
  • @EricShain: I should have suggested testing and especially considering pyhooked as it is pure python so the most likely to be version independent as long as it has been updated to python 3. Commented May 6, 2019 at 7:12
  • Thanks. I wasn’t able to find any indication on PyHook’s site indicating Python 3.7 compatibility.
    – Eric S
    Commented May 6, 2019 at 14:10
  • pyHook has any support at now? For keyboard controlling I've found keyboard module. pip install keyboard, and doc: github.com/boppreh/keyboard#api
    – Znik
    Commented Jan 6, 2020 at 12:10
  • @Znik My suggestion is to use pip install pyhooked as a Python 3 compatible alternative to pyHook Commented Jan 7, 2020 at 5:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.