毕设学习之——数据集制作LabelImg安装

LabelImg的安装踩了许多坑,同样的方式,别人的电脑可以,自己的电脑装了好久,一直失败。最终在找数据集的时候找到了一个exe文件!解决时间:2021年4月14日09:35:39

成功又简单的方法:
github下载exe文件,存放到一个非中文的路径下。
参考博客:LabelImg来源

失败的方法:(别人用这个方法也可行)
Win10下安装LabelImg以及使用:为了不破坏spyder的使用,创建一个虚拟环境

如果已经安装了,则卸载掉所安装的包就可以!

pip uninstall pyqt5

创建LabelIMG 并使用:

conda create -n label  创建虚拟环境
activate LabelIMG
pip install --user pyqt5 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
pip install --user pyqt5-tools -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
pip install --user lxml -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
pip install --user labelme -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
LabelIMG(启动)

pip install --user pyqt -i https://pypi.tuna.tsinghua.edu.cn/simple/
labelme

activate labtool

WARNING: The scripts pylupdate5.exe, pyrcc5.exe and pyuic5.exe are installed in ‘C:\Users\范兵\AppData\Roaming\Python\Python36\Scripts’ which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script labelImg.exe is installed in ‘C:\Users\范兵\AppData\Roaming\Python\Python36\Scripts’ which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pyqt5-plugins 5.15.2.2.1.0 requires pyqt5==5.15.2, but you have pyqt5 5.15.4 which is incompatible.

目前遇到的问题及其进展:
问题1:缺Qt插件

解决思路:
下载pyqt5 再安装
pip install pyqt5 -i https://pypi.tuna.tsinghua.edu.cn/simple/
conda失败:conda失败文件修改

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值