报错如下:
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.
经查询,原来是pyqt5包的问题,如果第一考虑重装pyqt5,可能白费功夫,我直接
sudo apt install libxcb-xinerama0
大功告成!