smart_classroom_demo icon indicating copy to clipboard operation
smart_classroom_demo copied to clipboard

opencv 相关库报错

Open fly361 opened this issue 10 months ago • 2 comments

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

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/root/miniconda3/lib/python3.8/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, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

你好,请问这个错误如何解决呢?在网上找了很多办法也没有解决。这似乎是opencv库的问题?你们没有遇到这个问题吗?

fly361 avatar Mar 31 '24 01:03 fly361

问题解决了,我原来是用autoDL跑的,这是linux系统,所以会出现问题,用windows本地的系统跑就不会有问题。

fly361 avatar Apr 04 '24 12:04 fly361

linux系统只要把opencv的版本降级一下就好了,亲测可用

Bill110110 avatar Apr 09 '24 10:04 Bill110110