xszyou / Fay

Fay is an open-source digital human framework integrating language models and digital characters. It offers retail, assistant, and agent versions for diverse applications like virtual shopping guides, broadcasters, assistants, waiters, teachers, and voice or text-based mobile assistants.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

执行python main.py报如下错误

Arvin-keke opened this issue · comments

[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.

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

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