ubuntu20
在虚拟环境中 pip install labelimg
正常安装完lableimg后无法成功启动, labelImg 命令无法启动,提示:
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" 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: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
已放弃 (核心已转储)
解决方法:安装libxcb-xinerama库即可。
sudo apt-get install libxcb-xinerama0