1、下载指令很简单
pip install labelme
如果下载速度很慢的话需要加上清华源
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple labelme
2、打开labelme使用以下指令
labelme
3、若出现以下错误
QObject::moveToThread: Current thread (0x1634080) is not the object's thread (0x26a0170).
Cannot move to target thread (0x1634080)
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/dyy/anaconda3/envs/myNice/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.
Aborted (core dumped)
这个错误是pyqt5版本过高
可以调用pip list查看pyqt5的版本,下载低版本
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyqt5==5.14.0
4、最后使用labelme顺利打开软件