- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我已安装 gqcnn , Pyrep和 autolab_core .之后,我执行了我同事编写的代码,并且在他的计算机上运行良好。
但是,我无法运行代码。发生的错误是
python3.7/site-packages/cv2/qt/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/home/bak/anaconda3/envs/pyrep/lib/python3.7/site-packages/cv2/qt/plugins/platforms/libqxcb.so"
Found metadata in lib /home/bak/anaconda3/envs/pyrep/lib/python3.7/site-packages/cv2/qt/plugins/platforms/libqxcb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"archreq": 0,
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 331520
}
In /home/bak/anaconda3/envs/pyrep/lib/python3.7/site-packages/cv2/qt/plugins/platforms/libqxcb.so:
Plugin uses incompatible Qt library (5.15.0) [release]
"The plugin '/home/bak/anaconda3/envs/pyrep/lib/python3.7/site-packages/cv2/qt/plugins/platforms/libqxcb.so' uses incompatible Qt library. (5.15.0) [release]"
not a plugin
QFactoryLoader::QFactoryLoader() checking directory path "/home/bak/anaconda3/envs/pyrep/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/home/bak/anaconda3/envs/pyrep/plugins/platforms/libqeglfs.so"
Found metadata in lib /home/bak/anaconda3/envs/pyrep/plugins/platforms/libqeglfs.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"eglfs"
]
},
"className": "QEglFSIntegrationPlugin",
"debug": false,
"version": 329991
}
Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/home/bak/anaconda3/envs/pyrep/plugins/platforms/libqminimal.so"
Found metadata in lib /home/bak/anaconda3/envs/pyrep/plugins/platforms/libqminimal.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimal"
]
},
"className": "QMinimalIntegrationPlugin",
"debug": false,
"version": 329991
}
Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/home/bak/anaconda3/envs/pyrep/plugins/platforms/libqminimalegl.so"
Found metadata in lib /home/bak/anaconda3/envs/pyrep/plugins/platforms/libqminimalegl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimalegl"
]
},
"className": "QMinimalEglIntegrationPlugin",
"debug": false,
"version": 329991
}
Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/home/bak/anaconda3/envs/pyrep/plugins/platforms/libqoffscreen.so"
Found metadata in lib /home/bak/anaconda3/envs/pyrep/plugins/platforms/libqoffscreen.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"offscreen"
]
},
"className": "QOffscreenIntegrationPlugin",
"debug": false,
"version": 329991
}
Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/home/bak/anaconda3/envs/pyrep/plugins/platforms/libqvnc.so"
Found metadata in lib /home/bak/anaconda3/envs/pyrep/plugins/platforms/libqvnc.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"vnc"
]
},
"className": "QVncIntegrationPlugin",
"debug": false,
"version": 329991
}
Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at "/home/bak/anaconda3/envs/pyrep/plugins/platforms/libqxcb.so"
Found metadata in lib /home/bak/anaconda3/envs/pyrep/plugins/platforms/libqxcb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 329991
}
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/home/bak/anaconda3/envs/pyrep/bin/platforms" ...
Cannot load library /home/bak/anaconda3/envs/pyrep/plugins/platforms/libqxcb.so: (/home/bak/anaconda3/envs/pyrep/plugins/platforms/../../lib/libQt5XcbQpa.so.5: symbol _ZN11QFontEngine14bitmapForGlyphEj6QFixedRK10QTransform version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference)
QLibraryPrivate::loadPlugin failed on "/home/bak/anaconda3/envs/pyrep/plugins/platforms/libqxcb.so" : "Cannot load library /home/bak/anaconda3/envs/pyrep/plugins/platforms/libqxcb.so: (/home/bak/anaconda3/envs/pyrep/plugins/platforms/../../lib/libQt5XcbQpa.so.5: symbol _ZN11QFontEngine14bitmapForGlyphEj6QFixedRK10QTransform version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference)"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/bak/anaconda3/envs/pyrep/lib/python3.7/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: eglfs, minimal, minimalegl, offscreen, vnc, xcb.
如果您想详细查看完整的错误信息,请参阅
here .
最佳答案
这可能与similar error message有关.
我刚刚在 Ubuntu 20.04、Python 3.8 中遇到这个问题,同时尝试使用 matplotlib_backend_qtquick .
提到的线程中的这个答案为我解决了这个问题:https://askubuntu.com/a/1069502
关于python - qt.qpa.plugin : Could not load the Qt platform plugin "xcb" in "" even though it was found.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63829991/
我在启用 EGLFS QPA 的 Ubuntu 16.04.3 LTS 上构建 Qt-5.9.2。 我在 Ctrl+Alt+F1 屏幕上切换到终端。然后我运行我的 Qt 应用程序 app(基于 Qt
这个问题在这里已经有了答案: Qt 5.1.1: Application failed to start because platform plugin "windows" is missing (
我正在尝试渲染一些简单的 qt 应用程序,它使用 QGraphicsView 和QGLWidget 在armv7 嵌入式平台 上作为viewport(稍微修改过的 collidingmice)( be
我正在尝试浏览一些图像识别教程,但我一直遇到这个错误,这让我无法继续。我正在运行 Ubuntu 21.10 和 Python 3.9.7。我的代码就是这样。 import cv2 img=cv2.im
当尝试使用 gem "pdfkit", "~> 0.8.2"gem 在 Ruby/Rack 应用中的服务器* 上生成 pdf * 时: kit = PDFKit.new("some string he
问题描述 安装Qt5.15.0后,在运行测试用例时弹出错误: qt.qpa.plugin: Could not load the Qt platform plugin "xcb&
我知道关于这个话题有很多答案,但是没有一个对我有帮助。我正在通过 Oracle VM Virtual Box 使用 Ubunty 20.04,我遇到了与所有其他人完全相同的错误。 在使用官方 Qt 手
我已安装 gqcnn , Pyrep和 autolab_core .之后,我执行了我同事编写的代码,并且在他的计算机上运行良好。 但是,我无法运行代码。发生的错误是 python3.7/site-pa
我正在尝试运行此处提到的 Tesseract Ocr 代码 https://www.pyimagesearch.com/2018/09/17/opencv-ocr-and-text-recogniti
当我运行 rstudio 命令时,出现以下错误: qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the
我为我的 Raspberry Pi 买了一个 Tontec 2.4 英寸触摸屏 ( http://elinux.org/MZTX-PI-EXT )。触摸屏 Controller 需要“tsc2007.
我在通过 Remote Explorer 模块与 VSCODE 连接的 Ubuntu 20.04 AWS-Ec2 实例中运行 Opencv 4.4.0。 我正在尝试打开已上传到项目的图像。 impor
我正在尝试使用 Qt 和 opencv 运行创建 UI 的脚本。 但是,这是我得到的一个奇怪的错误 python3 dashboard.py QObject::moveToThread: Curren
似乎有很多类似的问题。我在 StackOverflow 和其他地方查看了其中的 5 个(例如 https://discuss.pixls.us/t/solved-could-not-load-the-
我是一名优秀的程序员,十分优秀!