moondream
moondream copied to clipboard
qt.qpa.plugin: Could not load the Qt platform plugin "xcb"
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
Solution:
pip3 uninstall opencv-python
pip3 install opencv-python-headless
Ref:
- https://github.com/NVlabs/instant-ngp/discussions/300#discussioncomment-3179213