1.安装anaconda
直接官网下载anaconda安装即可
2.labelme的安装
#python3
conda create --name=labelme python=3.6
conda activate labelme
conda install pillow
pip install pyqt5 -i https://pypi.tuna.tsinghua.edu.cn/simple
conda install git
pip install git+https://github.com/wkentaro/labelme.git(安装最新的labelme)
输入labelme 启动工具
3.labelImg的安装
conda create --name=labelImg python=3.7
conda activate labelImg
pip install PyQt5 -i https://pypi.tuna.tsinghua.edu.cn/simple/(后面这行是国内的清华镜像源,下载速度才会比较快)
pip install pyqt5-tools -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install lxml -i https://pypi.tuna.tsinghua.edu.cn/simple/
方法1:pip install labelImg -i https://pypi.tuna.tsinghua.edu.cn/simple/ (Img中的I要大写,注意)
方法2:①下载源码https://gitee.com/alinn66/labelImg.git 。
②conda activate labelImg
③终端进入labelImg源码目录下,运行python labelImg.py即可。
labelme/labelImg安装
最新推荐文章于 2025-04-02 13:18:02 发布