安装labelme,基于anaconda3安装
# python3
conda create --name=labelme python=3.6
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
安装pillow
# Pillow 5 causes dll load error on Windows.
# https://github.com/wkentaro/labelme/pull/174
conda install pillow=4.0.0
下载源文件https://github.com/wkentaro/labelme,解压,cd到源文件目录,编译可执行文件
pip install pyinstaller
pyinstaller labelme.spec
参考:https://github.com/wkentaro/labelme