问题描述

Linux下使用虚拟环境中的labelme,会出现 Could not load the Qt platform plugin "xcb" in "" even though it was found.


全部报错代码

以下是虚拟环境打开labelme全部报错代码

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.Abort (Core dumped)

解决方法

在该虚拟环境下安装pyqt5 5.12.0版本即可

pip install pyqt5==5.12.0

问题本质

5.12.0(512这个版本比较稳定),建议安装此版本,仅此记录踩过的坑。

Linux下无法加载Qt platform plugin “xcb“相关推荐

  1. Linux下解决发布Qt程序报错:it could not find or load the Qt platform plugin “xcb” in “”

    简述 用Qt5.8版本在ubuntu16.04版本下编写Qt应用程序,生成release版本并打包,到另一台无Qt环境的linux系统中运行. 网上通常是按以下几个步骤进行: 1.生成release程 ...

  2. Ubuntu18.04下解决Qt出现qt.qpa.plugin:Could not load the Qt platform plugin “xcb“问题

    Ubuntu18.04下解决Qt出现qt.qpa.plugin:Could not load the Qt platform plugin "xcb"问题 问题描述 定位问题 解决 ...

  3. Ubuntu20.04下解决Qt出现qt.qpa.plugin:Could not load the Qt platform plugin “xcb“ 问题

    问题描述 python调用matplotlib.pyplot库进行图形绘制时弹出错误提示: qt.qpa.plugin: Could not load the Qt platform plugin & ...

  4. Ubuntu16.04下Python程序出现错误qt.qpa.plugin: Could not load the Qt platform plugin xcb解决方法

    问题描述 我在运行一个使用Pyqt5库的Python程序时,出现报错: qt.qpa.plugin: Could not load the Qt platform plugin "xcb&q ...

  5. 【Qt】Ubuntu18.04下解决Qt出现qt.qpa.plugin:Could not load the Qt platform plugin “xcb“问题

    1.问题描述 在ubuntu18.04中第一次安装QT5,运行时报错 qtcreator.sh qt.qpa.plugin: Could not load the Qt platform plugin ...

  6. linux path环境变量检索目录,Linux下动态链接库加载路径及搜索路径问题

    引子 近日,服务器迁移后,偷懒未重新编译nginx的,直接./nginx启动,结果遇到如下问题: "error while loading shared libraries" 这是 ...

  7. javaweb项目如何实现简单的验证码(以及eclipse和Linux下验证码加载不出来)

    像这样简单的验证码如何生成并显示在页面上并能点击不断刷新验证码呢? 1.首先创建一个servlet包并创建一个VerificationCodeServlet package codewen.bookc ...

  8. 出现“qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in ‘ ’even though it was found

    出现"qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in ' 'even though it wa ...

  9. 关于qt.qpa.plugin: Could not load the Qt platform plugin “xcb“的问题

    今天在运行代码的时候出现了以下错误,经查找资料,找到了解决方法. 错误如下: QFactoryLoader::QFactoryLoader() checking directory path &quo ...

最新文章

  1. 关于贝叶斯统计的一点总结
  2. python分类流程_文本分类指南:你真的要错过 Python 吗?
  3. jQuery--.css(width)和.width()的区别
  4. 亲测可用centos7安装git_centos7安装git踩坑记
  5. td 属性 noWrap 防止折行、撑开(及其它文字换行问题)
  6. html css3模拟心的跳动
  7. [QNAP crontab 定時執行程式
  8. 1.1 print输出语句(Python)
  9. 国内免费高匿IP代理软件
  10. 双三次插值(BiCubic插值)
  11. Netty LengthFieldBasedFrameDecoder源码分析
  12. matlab泊松分布图,matlab画泊松分布图
  13. pandas数据分析之分组聚合
  14. Lubuntu下启用Compiz
  15. 沧浪之水清兮,可以濯吾缨;沧浪之水浊兮,可以濯吾足
  16. Code for fun. Aimed nothing.
  17. 软件测试-自我介绍-整体框架
  18. 关于Xcode设置网络代理
  19. 基金、社保和QFII等机构的重仓股排名评测
  20. 添加超声波障碍图层并用rbx1仿真

热门文章

  1. Oracle 11g R2 Clusterware新特性 – HAIP详解
  2. 如何分析安卓系统日志
  3. C ++程序查找前n个自然数之和
  4. 理发店真是一个暴利行业吗?
  5. SpringBoot项目通过HotswapAgent实现热部署(JDK1.8)---亲测有效
  6. ubuntu系统配置nijia_使用Apache/Nginx在Ubuntu 18.04上安装InvoiceNinja的方法
  7. 同城组局攒局聚会派对人脉群系统开发
  8. JAVA日常开发中常用的日志记录方式,攒个赞好不好?
  9. php教程 英文原版,PHP 7 Quick Scripting Reference [Second Edition] 英文原版pdf[10MB]
  10. 佛说,今生你嫁的人,是前世葬你的人