问题/报错:qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “/usr/local/lib/python3.6/dist-packages/cv2/qt/plugins” even though it was found.

在安装opencv之后,我又安装了contrib,后来忽然出现上述"xcb"错误。

sudo -H pip3 install opencv-python
sudo -H pip3 install opencv-contrib-python

卸载contrib即可解决:

sudo -H pip3 uninstall opencv-contrib-python
sudo -rm -rf /usr/local/lib/python3.6/dist-packages/~pencv_contrib_python*

卸载后,检查下cv2的版本是否正确:import cv2; cv2.__version__ 。如果有误,重装opencv即可。

ubuntu出现qt.qpa.plugin报错相关推荐

  1. 在ubuntu中使用cv2.imshow()报错 No protocol specified qt.qpa.xcb: could not connect to display :0

    目录 报错 解决方案 1. 更换较低版本的opencv-python 2. 设置X server 报错 在带有桌面的ubuntu 16.04中,使用cv2.imshow()函数,报错信息如下 No p ...

  2. Ubuntu pyinstaller 打包可执行文件时报错:... qt.qpa.plugin: Could not find the Qt platform plugin “xcb“ in “...

    Ubuntu pyinstaller 打包可执行文件时报错:qt.qpa.plugin: Could not find the Qt platform plugin "xcb" i ...

  3. Qt-c++桌面编程报错:qt.qpa.plugin: Could not find the Qt platform plugin “windows“ in

    问题:Qt-c++桌面编程报错:qt.qpa.plugin: Could not find the Qt platform plugin "windows" in "&q ...

  4. 【已解决】报错qt.qpa.plugin: Could not load the Qt platform plugin “windows“ in “...“ even though it was

    问题描述: 在Python程序中使用到Pyside2进行图形界面搭建,并使用Pyinstaller将程序打包为独立可执行文件后,双击.exe文件,出现报错: "qt.qpa.plugin: ...

  5. 解决Ubuntu系统安装QT出错的问题:qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in ““ even though it

    最近新入手的笔记本无法安装Ubuntu系统,无奈只能通过VirtualBox安装Ubuntu16.04,但是发现安装最新版本的QT5.12.10时候无法启动QtCreator程序,通过命令行运行发现如 ...

  6. Ubuntu系统中Qt运行提示报错:Error while building/deploying project untitled (kit: 桌面) When executing s

    Qt运行提示报错:Error while building/deploying project untitled (kit: 桌面) When executing s 执行: sudo apt-get ...

  7. qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in ““ even though it was found. This appl

    在ubuntu上使用qt出现报错:qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" ...

  8. 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"问题 问题描述 定位问题 解决 ...

  9. 出现“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 ...

  10. 解决qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in ““ even though it was found.

    项目场景: 在使用pyqt5出现问题,让人真的很头疼哇 问题描述 具体问题如下: qt.qpa.plugin: Could not load the Qt platform plugin " ...

最新文章

  1. js如何运行python代码_python中执行javascript代码
  2. python将大于输出列表_python找出列表中大于某个阈值的数据段示例
  3. 解决Eclipse debug卡慢问题!!!
  4. scikit-learn学习笔记(六)Decision Trees(决策树)
  5. 《Scikit-Learn与TensorFlow机器学习实用指南》 第01章 机器学习概览
  6. 设计模式笔记二十一:状态模式
  7. 单板计算机图片大全,最强单板计算机UP Board之Windows10完全版、Ubuntu、Andriod系统体验 | 爱板网...
  8. Python数学建模 空间插值
  9. python分页查询_python | MySQL分页查询优化
  10. 计算机关机怎么按,按什么键电脑关机
  11. 网易云音乐在Ubuntu中打不开
  12. ADCS relay
  13. idea 中部署 tomcat
  14. 解决两台路由器串联上网问题
  15. oracle userenv('language'),USERENV()获取Oracle环境信息
  16. Kubernetes 污点和容忍
  17. 抖音作品怎么快速上热门推荐?如何上精选
  18. tensorflow2.0 基于LSTM模型的文本生成
  19. vue3实现微信公众号一次性订阅消息+ios和Android的63002 config:invalid signature问题
  20. OverTheWire的bandit游戏1

热门文章

  1. 凯利公式计算器安卓_华为MatePad Pro 5G评测:一屏双任务,打破安卓平板生态限制...
  2. 键盘按键损坏 注册表更改_如何彻底清洁键盘(不损坏任何东西)
  3. 基于matlab的微分例题,matlab程序设计常微分方程编程例题答案数学.doc
  4. [数值计算-1]:数学建模、科学计算、数值计算的关系
  5. 速达pro服务器显示试用,速达v3-pro商业版突然变成试用版了,加密狗的灯不亮了,是什么原因- _0...
  6. 分享133个JSP源码,总有一款适合你
  7. 虚拟机安装过程中发生该错误:“客户机操作系统已禁用cup”问题解决方法【全】
  8. python使用win32*模块模拟人工操作——城通网盘下载器(一)
  9. ADB 学习(4):adb shell (上)
  10. dump文件导入表修复工具——Imports Fixer