У меня есть проект для школы, использующий Python. Я должен сделать GUI, поэтому я решил использовать Qt через PySide2. На Windows все работает без проблем. Но когда я пытаюсь запустить свой проект в Debian, у меня возникает такая проблема:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
No protocol specified
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Я искал решение для Inte rnet, но у меня ничего не получалось. Я использую Python3 .7 и PySide2 (установлен с pip
) на Debian 10.