1.参考labelme的github代码进行安装
https://github.com/wkentaro/labelme
conda create --name=labelme python=3.9
source activate labelme
conda install pyqt
conda install labelme -c conda-forge
2.也可在anaconda的base环境使用pip命令进行安装,可能会遇到问题qt.qpa.plugin: Could not load the Qt platform plugin “xcb“问题,原因pyqt版本过高。先卸载pyqt安装低版本即可。
pip uninstall labelme
pip uninstall pyqt5
pip uninstall pyqt5-tools
conda install pyqt
pip install labelme
参考网址:
https://blog.csdn.net/weixin_43894304/article/details/126674367
https://blog.csdn.net/threestooegs/article/details/124424434
https://blog.csdn.net/weixin_52337795/article/details/126017254