moondream icon indicating copy to clipboard operation
moondream copied to clipboard

qt.qpa.plugin: Could not load the Qt platform plugin "xcb"

Open maifeeulasad opened this issue 11 months ago • 2 comments

Full log:

QObject::moveToThread: Current thread (0x5582c5a8e600) is not the object's thread (0x5582c5b427d0).
Cannot move to target thread (0x5582c5a8e600)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/user/.local/lib/python3.10/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.

[1]    46903 IOT instruction (core dumped)  python3 gaze-detection-video.py

maifeeulasad avatar Jan 15 '25 10:01 maifeeulasad

Solution:

pip3 uninstall opencv-python
pip3 install opencv-python-headless

maifeeulasad avatar Jan 15 '25 10:01 maifeeulasad

Ref:

  • https://github.com/NVlabs/instant-ngp/discussions/300#discussioncomment-3179213

maifeeulasad avatar Jan 15 '25 12:01 maifeeulasad