labelme安装过程出现诸多问题,主要还是版本不匹配特别是qt的版本,记录一下安装过程。
labelme安装(conda创建虚拟环境):
1.创建conda环境
conda create --name=labelme python=3.7
2.进入虚拟环境
conda activate labelme
3.安装必要的pyqt5的包,指定5.14.0版本
pip install -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com pyqt5==5.14.0
4.安装labelme
pip install -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com labelme
5.labelme(若成功,则会显示图形界面)