Alguém saberia me informar como tratar este error?
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Mezzo\AppData\Local\Programs\Python\Python37\lib\site-packages\pyHook\HookManager.py", line 348, in KeyboardSwitch
event = KeyboardEvent(msg, vk_code, scan_code, ascii, flags, time, hwnd, win_name)
SystemError: <class 'pyHook.HookManager.KeyboardEvent'> returned a result with an error set
TypeError: an integer is required (got type NoneType)