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

界面成功出来:

windows 环境 labelImg 安装_第1张图片

你可能感兴趣的:(机器学习,深度学习,AI,labelImg)