在Anaconda的终端进行安装,现在最低只能安装python3.8的。
1.Github上的方法(修改版)
Anaconda的终端
# python3
conda create --name=labelme python=3.8
source activate labelme
# conda install -c conda-forge pyside2
# conda install pyqt
# pip install pyqt5 # pyqt5 can be installed via pip on python3
pip install labelme
# or you can install everything by conda command
# conda install labelme -c conda-forge
macOS
brew install pyqt # maybe pyqt5
pip install labelme
# or
brew install wkentaro/labelme/labelme # command line interface
# brew install --cask wkentaro/labelme/labelme # app
# or install standalone executable/app from:
# https://github.com/wkentaro/labelme/releases
如果出现一下报错,用什么办法重试也无法解决,可以试试清华源镜像【pip install --index-url https://pypi.tuna.tsinghua.edu.cn/simple/ labelme】偶然在b站看到的,很好用!!!