LearningToCountEverything icon indicating copy to clipboard operation
LearningToCountEverything copied to clipboard

Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, xcb.

Open BenoitKAO opened this issue 1 year ago • 0 comments

Thank you very much for your marvelous work!

However, after I installed PyQt5 and PyQt6 and tried to input the following command, respectively: python demo.py --input-image t3.jpg

I received the same error messages,


... Got keys from plugin meta data ("offscreen") QFactoryLoader::QFactoryLoader() looking at "/root/miniconda3/envs/abc/plugins/platforms/libqvnc.so" Found metadata in lib /root/miniconda3/envs/abc/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 "/root/miniconda3/envs/abc/plugins/platforms/libqxcb.so" Found metadata in lib /root/miniconda3/envs/abc/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 "/root/miniconda3/envs/abc/bin/platforms" ... loaded library "/root/miniconda3/envs/abc/plugins/platforms/libqoffscreen.so" QObject::moveToThread: Current thread (0x557d8a72e500) is not the object's thread (0x557d8cbb0630). Cannot move to target thread (0x557d8a72e500)

qt.qpa.plugin: Could not load the Qt platform plugin "offscreen" in "" 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.

Aborted (core dumped)


Any help is appreciated.

BenoitKAO avatar Dec 13 '22 01:12 BenoitKAO