使用OPENCV错误:qt.qpa.plugin: Could not load the Qt platform plugin “xcb“

Posted 答案是你

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了使用OPENCV错误:qt.qpa.plugin: Could not load the Qt platform plugin “xcb“相关的知识,希望对你有一定的参考价值。

解决方案:
安装opencv-python-headless模块

pip install opencv-python-headless

以上是关于使用OPENCV错误:qt.qpa.plugin: Could not load the Qt platform plugin “xcb“的主要内容,如果未能解决你的问题,请参考以下文章

[vscode][原创]pyqt5配置后报错:qt.qpa.plugin: Could not find the Qt platform plugin “windows“ in ““

pyqt5报错:qt.qpa.plugin: Could not find the Qt platform plugin "windows" in "" Thi

Qt 找不到平台插件 cocoa

plugin cannot be loaded for module “QtQuick“ && Could not load the Qt platform plugin “windows“

plugin cannot be loaded for module “QtQuick“ && Could not load the Qt platform plugin “windo

plugin cannot be loaded for module “QtQuick“ && Could not load the Qt platform plugin “windo