boppreh / keyboard

Hook and simulate global keyboard events on Windows and Linux.
MIT License
3.76k stars 433 forks source link

`keyboard.read_event` crashes with `illegal hardware instruction` on MacOS with PyQt #562

Open Avasam opened 2 years ago

Avasam commented 2 years ago

Python: 3.10 MacOS: 11.0.1 keyboard: 0.13.5 from PyPi and git+https://github.com/boppreh/keyboard.git#egg=keyboard PyQt6: 6.3.1

Simply calling keyboard.read_event() in a PyQt app crashes the application with illegal hardware instruction. This does not happen if just launching python from the terminal then calling keyboard.read_event()