windows 环境 labelImg 安装

1、先从Github下载源码

https://github.com/tzutalin/labelImg

2、windows环境

(base) C:\Users\Administrator>conda activate pytorch

(pytorch) C:\Users\Administrator>cd H:\AItest\AiSetup\labelImg-master

(pytorch) C:\Users\Administrator>h:

(pytorch) H:\AItest\AiSetup\labelImg-master>pip install PyQt5 -i https://pypi.douban.com/simple
Collecting PyQt5
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Downloading https://pypi.doubanio.com/packages/aa/72/754c693db0e745b9fe47debc3ec52844461f090d5beff28489a0cde5ef82/PyQt5-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-none-win_amd64.whl (56.9MB)
    100% |████████████████████████████████| 56.9MB 13kB/s
Collecting PyQt5-sip<13,>=12.8 (from PyQt5)
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Downloading https://pypi.doubanio.com/packages/59/0e/f51483e98c407687ec6e99d21ec1333c42a4d285933f2863494676d22896/PyQt5_sip-12.8.1-cp36-cp36m-win_amd64.whl (62kB)
    100% |████████████████████████████████| 71kB 4.1MB/s
Installing collected packages: PyQt5-sip, PyQt5
Successfully installed PyQt5-5.15.2 PyQt5-sip-12.8.1
You are using pip version 9.0.1, however version 20.3.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

(pytorch) H:\AItest\AiSetup\labelImg-master>pip install lxml
Collecting lxml
  Downloading https://files.pythonhosted.org/packages/5d/ca/deddbbc1bdfdb423dbc8d778144a05e3dd88a3b470766bd7fbf831b0c8d8/lxml-4.6.2-cp36-cp36m-win_amd64.whl (3.5MB)
    100% |████████████████████████████████| 3.5MB 29kB/s
Installing collected packages: lxml
Successfully installed lxml-4.6.2
You are using pip version 9.0.1, however version 20.3.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

(pytorch) H:\AItest\AiSetup\labelImg-master>pyrcc5 -o libs/resources.py resources.qrc

(pytorch) H:\AItest\AiSetup\labelImg-master>python labelImg.py

界面成功出来:

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
Windows安装labelimg有几种方法。你可以按照以下其中一种方法进行操作: 1. 使用虚拟环境和pip安装: - 首先,创建一个虚拟环境。你可以使用Anaconda或其他虚拟环境管理工具来创建虚拟环境。 - 激活虚拟环境。 - 在命令行中运行以下命令来安装labelimg:`pip install labelimg` - 安装完成后,你可以在虚拟环境中使用labelimg。 2. 使用Anaconda Prompt安装: - 打开桌面上的Anaconda Prompt。 - 输入以下命令来激活labelimg环境:`activate labelimg` - 然后输入`labelimg`来启动labelimg。 - 这样,你就可以在labelimg中进行图像标注了。 3. 使用labelImg.exe文件来安装: - 在Windows环境下,你可以直接使用labelImg.exe文件来安装和使用labelimg,无需安装Python和配置环境。 - 下载labelImg.exe文件,并双击.exe文件运行。 - 运行后,你可以直接使用labelimg进行图像标注。 总结起来,你可以通过创建虚拟环境并使用pip安装、使用Anaconda Prompt激活环境或者直接使用labelImg.exe文件来安装和使用labelimg工具。希望这些方法对你有帮助!<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* [labelme(labelimg)标注工具安装和使用(windows)](https://blog.csdn.net/shan_5233/article/details/124431368)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *3* [labelImg_windows(无需安装,点击即可使用).zip](https://download.csdn.net/download/weixin_43042683/85522657)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值