labelImg闪退的高效解决方法

解决方法:
1.labelImg软件安装路径中不能出现中文路径,如果出现,换个英文的路径,(一般这样情况比较多)。
2.进入到C:\Users\Administrator,将.labelImgSettings.pkl文件删除,重新运行即可。(找不到可以目录下进行搜索)
3:使用anaconda prompt终端依次执行以下命令
pip install PyQt5 -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install pyqt5-tools -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install lxml -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install labelImg -i https://pypi.tuna.tsinghua.edu.cn/simple/
最后在anaconda prompt中输入labelImg启动。

猜你喜欢

转载自blog.csdn.net/weixin_42620513/article/details/123729664