PaddleOCR标注软件报错

在这里插入图片描述
可以看到下面这句报错信息:

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/dapeng/anaconda3/envs/ppocr/lib/python3.9/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.

也就是cv2有问题,解决办法如下:

 pip3 uninstall opencv-python
 pip3 install opencv-contrib-python-headless==4.5.1.48

猜你喜欢

转载自blog.csdn.net/a18838956649/article/details/120187491
今日推荐