记录一下安装labelImg中出现的问题以及解决方案,供大家避雷
前期的安装过程安装GitHub上的教程来就好,但是到了make qt5py3 这一步,出现了问题
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
目录已经是切换到 labelImg-master ,然后查了一下,找到解决方法:
- 重装xcode command line:
xcode-select --install
看解答说是 少了系统需要的运行库,运行命令行后会自动安装。
运行后,再试看到这行代码就成功了。
pyrcc5 -o resources.py resources.qrc