S
S
Studentka19962021-07-10 20:53:07
Building projects
Studentka1996, 2021-07-10 20:53:07

How to fix problem with pyHook module?

The .py file works, I run the .exe (I used pyinstaller to get the .exe), I press any key, the program aborts (due to an error)

.py
60e9de5590b50846675312.png

.exe
60e9de724ecfa790783820.png

Error text:
TypeError: KeyboardSwitch() missing 8 required positional arguments: ' msg', 'vk_code', 'scan_code', 'ascii', 'flags', 'time', 'hwnd', and 'win_name'

Python version 3.7. Please help..

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Studentka1996, 2021-07-11
@Studentka1996

The program must be launched where there are no Russian characters in the path.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question