Fay icon indicating copy to clipboard operation
Fay copied to clipboard

执行python main.py报如下错误

Open Arvin-keke opened this issue 1 year ago • 2 comments

image

Arvin-keke avatar Jun 28 '23 05:06 Arvin-keke

[root@localhost Fay-main]# python3 main.py pygame 2.1.3 (SDL 2.0.22, Python 3.11.4) Hello from the pygame community. https://www.pygame.org/contribute.html QObject::moveToThread: Current thread (0x2839a90) is not the object's thread (0x967ce30). Cannot move to target thread (0x2839a90)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/local/Python-3.11.4/lib/python3.11/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.

watchpoints avatar Aug 20 '23 09:08 watchpoints

pip install opencv-python==4.1.2.30 降低opencv版本可以解决

Uploading 2024-01-02 18-12-04屏幕截图.png…

jack00000 avatar Jan 02 '24 10:01 jack00000