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窗口

 

 

##############################

posted @   西北逍遥  阅读(5004)  评论(1编辑  收藏  举报
相关博文:
阅读排行:
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
历史上的今天:
2021-06-11 运行日志
2020-06-11 IfcPropertySetTemplate
2019-06-11 C++ STL 已序区间查找算法
2019-06-11 c++ STL find search
2019-06-11 C++ list 查找
点击右上角即可分享
微信分享提示