I installed PyGPT according to the instructions on this page:
https://snapcraft.io/install/pygpt/opensuse
The program doesn’t work. The console shows the following messages:
pygpt
qt.multimedia.symbolsresolver: Couldn't load pipewire-0.3 library
qt.multimedia.symbolsresolver: Couldn't resolve pipewire-0.3 symbols
Traceback (most recent call last):
File "/snap/pygpt/566/src/pygpt_net/app.py", line 69, in <module>
from pygpt_net.launcher import Launcher
File "/snap/pygpt/566/src/pygpt_net/launcher.py", line 28, in <module>
from pygpt_net.ui.main import MainWindow
File "/snap/pygpt/566/src/pygpt_net/ui/main.py", line 21, in <module>
from pygpt_net.controller import Controller
File "/snap/pygpt/566/src/pygpt_net/controller/__init__.py", line 36, in <module>
from .painter import Painter
File "/snap/pygpt/566/src/pygpt_net/controller/painter/__init__.py", line 12, in <module>
from .painter import *
File "/snap/pygpt/566/src/pygpt_net/controller/painter/painter.py", line 15, in <module>
from .capture import Capture
File "/snap/pygpt/566/src/pygpt_net/controller/painter/capture.py", line 20, in <module>
from pynput.mouse import Controller
File "/snap/pygpt/566/lib/python3.10/site-packages/pynput/__init__.py", line 40, in <module>
from . import keyboard
File "/snap/pygpt/566/lib/python3.10/site-packages/pynput/keyboard/__init__.py", line 31, in <module>
backend = backend(__name__)
File "/snap/pygpt/566/lib/python3.10/site-packages/pynput/_util/__init__.py", line 78, 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