ich habe hier ein simples PyQt5 Programm:
Code: Alles auswählen
import sys
from PyQt5.QtWidgets import QWidget, QApplication
class MainWindow(QWidget):
def __init__(self):
super().__init__()
if __name__ == '__main__':
app = QApplication(sys.argv)
main = MainWindow()
main.show()
sys.exit(app.exec_())
Code: Alles auswählen
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.