qt.qpa.xcb: could not connect to display
作者:互联网
一时疏忽,直接在xshell远程桌面运行pyqt程序了,报了此错误
(wind_2022) admin-01@admin-01:~/Anaconda3/project_liao_20220523$ (wind_2022) admin-01@admin-01:~/Anaconda3/project_liao_20220523$ python vc_main.py qt.qpa.xcb: could not connect to display 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. 已放弃 (核心已转储) (wind_2022) admin-01@admin-01:~/Anaconda3/project_liao_20220523$
因为远程桌面没法显示pyqt窗口
##############################
标签:xcb,01,qt,Anaconda3,admin,could,qpa,wayland 来源: https://www.cnblogs.com/herd/p/16367143.html