You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installed on Linux and after having to install a number of dependencies left out of the requirements.txt I got this error on startup:
/python3.10/site-packages/pynput/_util/__init__.py", line 77, in backend
raise ImportError('this platform is not supported: {}'.format(
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
Now, I don't know why I need an x server going, but more importantly how do I set it as an environment variable, assuming I get one on here? I just assumed once I installed it and got the llm going it would open a browser tab :D
The text was updated successfully, but these errors were encountered:
I wasn't aware this needs an X Server running on linux. Since pynput is used in linguflex only for keyboard input handling (specifically to listen for the Escape key press and abort TTS in that case) it's probably best to switch to another keyboard handler.
defon_press(self, key):
""" Function called when a key is pressed. If Escape key is pressed, a message is printed. """ifkey==keyboard.Key.esc:
events.trigger("escape_key_pressed", "ui")
returnTrue
Installed on Linux and after having to install a number of dependencies left out of the requirements.txt I got this error on startup:
Now, I don't know why I need an x server going, but more importantly how do I set it as an environment variable, assuming I get one on here? I just assumed once I installed it and got the llm going it would open a browser tab :D
The text was updated successfully, but these errors were encountered: