一、下载
labelimg源码地址:https://github.com/tzutalin/labelImg
下载代码到本地或git clone
二、安装依赖
pip3 install PyQt5 PyQt5_tools lxml -i https://pypi.doubanio.com/simple
三、关键操作
解压并打开labelimg文件夹,进入cmd
Pyrcc5 -o resources.py resources.qrc
接着将输出的resources.py
复制到libs文件夹中
四、执行
python labelImg.py