【报错解决方案】application failed to start because it could not find or load the Qt platform plugin “xcb“

【报错解决方案】application failed to start because it could not find or load the Qt platform plugin “xcb“,第1张

【报错解决方案】application failed to start because it could not find or load the Qt platform plugin “xcb“ 0x00 问题描述

今天在跑程序的时候,突然曝出了下面的错误,

This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Reinstalling the application may fix this problem.
detect_evaluation-Dataset.sh: line 21: 17306 Aborted                 (core dumped)

在网上找了好多教程,其中最经典的就是盼小辉的,但是却解决不了我的问题。

0x01 解决思路
  • 要想解决这个问题,就要分析为什么我用盼小辉的那个解决方法为什么不成功?
    细细分析发现两者的区别,他的是安装了QT程序,而我只是用到了qt的一个python库。因此我重新安装一下qt包就解决了
0x02 具体步骤
  1. 卸载python环境中的qt包

    pip uninstall qt
    
  2. 重新安装qt包

    pip install qt
    
0x03 一些闲话

本人创建了一个公众号,分享科研路上的小问题,新发现,欢迎关注公众号,给我留言!!!
一起奋发向上,攻克难题吧~~

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/5436376.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-12-11
下一篇2022-12-11

发表评论

登录后才能评论

评论列表(0条)

    保存