I have trouble when install on my distro, maybe does not work on Wayland.
Traceback (most recent call last):
File "keycast_prod.py", line 11, in <module>
File "PyInstaller/loader/pyimod03_importers.py", line 546, in exec_module
File "pynput/__init__.py", line 40, in <module>
File "PyInstaller/loader/pyimod03_importers.py", line 546, in exec_module
File "pynput/keyboard/__init__.py", line 31, in <module>
File "pynput/_util/__init__.py", line 76, in backend
ImportError: this platform is not supported: ('failed to acquire X connection: Can\'t connect to display ":0": b\'Authorization required, but no authorization protocol specified\\n\'', DisplayConnectionError(':0', b'Authorization required, but no authorization protocol specified\n'))
Try one of the following resolutions:
* Please make sure that you have an X server running, and that the DISPLAY environment variable is set correctly
[202619] Failed to execute script 'keycast_prod' due to unhandled exception!