Linux QT和OpenCV冲突

qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “$HOME/venv/lib/python3.8/site-packages/cv2/qt/plugins” 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: xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

安装 opencv-python-headless

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python-headless

相关推荐

  1. Linux QTOpenCV冲突

    2024-06-07 14:40:07       31 阅读
  2. NacosEureka冲突问题原因分析

    2024-06-07 14:40:07       58 阅读
  3. 如何理解冲突广播域

    2024-06-07 14:40:07       67 阅读
  4. prettiereslint冲突怎么解决?

    2024-06-07 14:40:07       58 阅读
  5. rebasemerge哪个冲突更多?

    2024-06-07 14:40:07       32 阅读
  6. seleniumurllib3版本冲突解决

    2024-06-07 14:40:07       32 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-06-07 14:40:07       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-06-07 14:40:07       106 阅读
  3. 在Django里面运行非项目文件

    2024-06-07 14:40:07       87 阅读
  4. Python语言-面向对象

    2024-06-07 14:40:07       96 阅读

热门阅读

  1. Taro(React)使用富文本编辑器Editor

    2024-06-07 14:40:07       24 阅读
  2. Mybatis动态SQL

    2024-06-07 14:40:07       29 阅读
  3. Kotlin getter 和 setter

    2024-06-07 14:40:07       30 阅读
  4. # ROS 获取激光雷达数据 (Python实现)

    2024-06-07 14:40:07       27 阅读
  5. vue2 集成element 步骤

    2024-06-07 14:40:07       22 阅读
  6. 基于Spring Security添加流控

    2024-06-07 14:40:07       36 阅读