1、下载源码并解压
github源码:https://github.com/cgvict/roLabelImg
2、安装相关的依赖库
conda create -n rolabel36 python=3.6
activate rolabel36
pip install pyqt5-tools
pip install lxml
3、资源目录下输入
pyrcc5 -o resources.py resources.qrc
python roLabelImg.py
注意:此处可能会存在一个编码错误:
(rolabel36) D:\roLabelImg-master>python roLabelImg.py
running with lxml.etree
Traceback (most recent call last):
File “roLabelImg.py”, line 1339, in
if name == ‘main’:
File “roLabelImg.py”, line 1335, in main
‘’‘construct main app and run it’‘’
File “roLabelImg.py”, line 1328, in get_main_app
win = MainWindow(argv[1] if len(argv) >= 2 else Non