赞
踩
一、开发工具下载
二、安装过程
三、检测安装成功
四、安装LabelMe环境
一、开发工具下载
官网下载地址:https://www.anaconda.com/products/individual
滑动至网页底部
二、安装过程
2. 点击【Next】进行安装
3. 点击【I Agree】
4.选择用户安装(仅为当前登录账号安装)-点击下一步
5. 选择安装路径(可以使用默认地址:如果C盘比较小,建议安装到其他盘符)
6.默认安装到C盘,不用做任何修改:安装的文件目录会默认隐藏
(默认安装请忽略下方自定义安装)
【自定义安装目录操作 一 】选择其他硬盘位置安装(创建安装文件夹的路径目录)
【自定义安装目录操作 二 】点击按钮【Browse...】进行安装文件目录选择 点击确认
【自定义安装目录操作 三 】 安装目录更换成功点击【Next】
![image-20200806105535531](https://gitee.com/mmrliu/uPicImage/raw/master/uPic/202008/image-20200806105535531.png)勾选安装PATH配置环境变量 勾选作为默认Python开发环境
7.开始加载安装 -需要等待一段时间(安装速度根据电脑性能而定)
8.加载完成 - 点击【Next】
9.点击下一步
10.安装完成:取消默认勾选的两个选择框
三、检测安装成功
1.Win+R 按键 、 输入cmd点击确定或敲击回车键
2.输入Python 敲击回车键 ,如果能够显示已经安装的Python环境,证明成功。
3.点击【Windows】菜单键 - 查看Anaconda工具安装
四、安装LabelMe环境
1.设置国内镜像(国外镜像下载地址太慢 - 顺利情况下也需要好几个小时时间)
北京外国语大学开源软件镜像站
命令:
C:Usersliushuaitao>conda config --add channels https:// mirrors.bfsu.edu.cn/ana conda/cloud/pytorch/
C:Usersliushuaitao>conda config --set show_channel_urls yes #配置生效
C:Usersliushuaitao>conda config --show #查看配置情况
操作如下:
检查配置成功:
2.点击左边的菜单中选择【Environments】点击【base(root)】菜单右边箭头,选择【open terminal】选项,打开命令行
3.使用输入名称 创建一个Python3.8环境
命令:conda create --name=labelme python=3.8
4.输入y 回车
5.创建成功
6.使用如下命令 - 切换到刚刚创建的labelme中
命令:conda activate labelme
7.使用如下命令:安装pyqt5 (依赖工具包 然后才能安装labelme)
命令:conda install pyqt5 或 pip install PyQt5
(安装速度太慢 - 可以选择本地安装:下载地址:https://pypi.org/project/PyQt5/#files)
7.1 从pypi官网下载 pyqt5 然后进行本地安装
pip命令:pip install C:UsersliushuaitaoDesktopPyQt5-5.15.0-5.15.0-cp35.cp36.cp37.cp38-none-win_amd64.whl
8.使用如下命令:安装labelme
命令:pip install labelme
9.使用如下命令启动labelme
命令:labelme
启动效果图:如下
大功告成
Mac 版本安装
- Last login: Sun Aug 9 01:43:24 on ttys000
- liushuaitao@bogon ~ % . /Users/liushuaitao/opt/anaconda3/bin/activate && conda activate /Users/liushuaitao/opt/anaconda3;
- (base) liushuaitao@bogon ~ % conda create --name=labelme python=3.8
- Collecting package metadata (current_repodata.json): done
- Solving environment: done
-
- ## Package Plan ##
-
- environment location: /Users/liushuaitao/opt/anaconda3/envs/labelme
-
- added / updated specs:
- - python=3.8
-
-
- The following NEW packages will be INSTALLED:
-
- ca-certificates pkgs/main/osx-64::ca-certificates-2020.6.24-0
- certifi pkgs/main/osx-64::certifi-2020.6.20-py38_0
- libcxx pkgs/main/osx-64::libcxx-10.0.0-1
- libedit pkgs/main/osx-64::libedit-3.1.20191231-h1de35cc_1
- libffi pkgs/main/osx-64::libffi-3.3-hb1e8313_2
- ncurses pkgs/main/osx-64::ncurses-6.2-h0a44026_1
- openssl pkgs/main/osx-64::openssl-1.1.1g-h1de35cc_0
- pip pkgs/main/osx-64::pip-20.2.1-py38_0
- python pkgs/main/osx-64::python-3.8.5-h26836e1_0
- readline pkgs/main/osx-64::readline-8.0-h1de35cc_0
- setuptools pkgs/main/osx-64::setuptools-49.2.1-py38_0
- sqlite pkgs/main/osx-64::sqlite-3.32.3-hffcf06c_0
- tk pkgs/main/osx-64::tk-8.6.10-hb0a8c7a_0
- wheel pkgs/main/osx-64::wheel-0.34.2-py38_0
- xz pkgs/main/osx-64::xz-5.2.5-h1de35cc_0
- zlib pkgs/main/osx-64::zlib-1.2.11-h1de35cc_3
-
-
- Proceed ([y]/n)? y
-
- Preparing transaction: done
- Verifying transaction: done
- Executing transaction: done
- #
- # To activate this environment, use
- #
- # $ conda activate labelme
- #
- # To deactivate an active environment, use
- #
- # $ conda deactivate
-
- (base) liushuaitao@bogon ~ % conda activate labelme
- (labelme) liushuaitao@bogon ~ % pip install /Users/liushuaitao/Desktop/PyQt5-5.15.0-5.15.0-cp35.cp36.cp37.cp38-abi3-macosx_10_6_intel.whl
- Processing ./Desktop/PyQt5-5.15.0-5.15.0-cp35.cp36.cp37.cp38-abi3-macosx_10_6_intel.whl
- Collecting PyQt5-sip<13,>=12.8
- Using cached PyQt5_sip-12.8.0-cp38-cp38-macosx_10_9_x86_64.whl (63 kB)
- Installing collected packages: PyQt5-sip, PyQt5
- Successfully installed PyQt5-5.15.0 PyQt5-sip-12.8.0
- (labelme) liushuaitao@bogon ~ % pip install labelme
- Processing ./Library/Caches/pip/wheels/5a/0d/a8/7012260a1f1589abe857e76a6313cb440c8f34b8a26cf45267/labelme-4.5.6-py3-none-any.whl
- Collecting numpy
- Using cached numpy-1.19.1-cp38-cp38-macosx_10_9_x86_64.whl (15.3 MB)
- Processing ./Library/Caches/pip/wheels/a0/16/9c/5473df82468f958445479c59e784896fa24f4a5fc024b0f501/termcolor-1.1.0-py3-none-any.whl
- Processing ./Library/Caches/pip/wheels/2e/95/0e/bf1567775e87d9ceb1504f7dc5ab07c699ddfc4c774fb79008/imgviz-1.2.2-py3-none-any.whl
- Collecting qtpy
- Using cached QtPy-1.9.0-py2.py3-none-any.whl (54 kB)
- Collecting Pillow>=2.8.0
- Using cached Pillow-7.2.0-cp38-cp38-macosx_10_10_x86_64.whl (2.2 MB)
- Processing ./Library/Caches/pip/wheels/13/90/db/290ab3a34f2ef0b5a0f89235dc2d40fea83e77de84ed2dc05c/PyYAML-5.3.1-cp38-cp38-macosx_10_9_x86_64.whl
- Collecting matplotlib
- Using cached matplotlib-3.3.0-1-cp38-cp38-macosx_10_9_x86_64.whl (11.4 MB)
- Collecting cycler>=0.10
- Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
- Collecting python-dateutil>=2.1
- Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
- Collecting kiwisolver>=1.0.1
- Using cached kiwisolver-1.2.0-cp38-cp38-macosx_10_9_x86_64.whl (60 kB)
- Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3
- Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
- Collecting six
- Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
- Installing collected packages: numpy, termcolor, six, cycler, Pillow, python-dateutil, kiwisolver, pyparsing, matplotlib, PyYAML, imgviz, qtpy, labelme
- Successfully installed Pillow-7.2.0 PyYAML-5.3.1 cycler-0.10.0 imgviz-1.2.2 kiwisolver-1.2.0 labelme-4.5.6 matplotlib-3.3.0 numpy-1.19.1 pyparsing-2.4.7 python-dateutil-2.8.1 qtpy-1.9.0 six-1.15.0 termcolor-1.1.0
- (labelme) liushuaitao@bogon ~ % labelme
- [INFO ] __init__:get_config:70 - Loading config file from: /Users/liushuaitao/.labelmerc
- (labelme) liushuaitao@bogon ~ %
- (base) C:Usersliushuaitao>conda activate labelme
-
- (labelme) C:Usersliushuaitao>pip install C:UsersliushuaitaoDesktopPyQt5-5.15.0-5.15.0-cp35.cp36.cp37.cp38-none-win_amd64.whl
- Processing c:usersliushuaitaodesktoppyqt5-5.15.0-5.15.0-cp35.cp36.cp37.cp38-none-win_amd64.whl
- Collecting PyQt5-sip<13,>=12.8
- Downloading PyQt5_sip-12.8.0-cp38-cp38-win_amd64.whl (63 kB)
- |████████████████████████████████| 63 kB 7.2 kB/s
- Installing collected packages: PyQt5-sip, PyQt5
- Successfully installed PyQt5-5.15.0 PyQt5-sip-12.8.0
-
- (labelme) C:Usersliushuaitao>pip install labelme
- Collecting labelme
- Downloading labelme-4.5.6.tar.gz (1.5 MB)
- |████████████████████████████████| 1.5 MB 30 kB/s
- Collecting imgviz>=0.11.0
- Downloading imgviz-1.2.2.tar.gz (7.7 MB)
- |████████████████████████████████| 7.7 MB 16 kB/s
- Installing build dependencies ... done
- Getting requirements to build wheel ... done
- Preparing wheel metadata ... done
- Collecting matplotlib
- Downloading matplotlib-3.3.0-cp38-cp38-win_amd64.whl (8.8 MB)
- |████████████████████████████████| 8.8 MB 25 kB/s
- Collecting numpy
- Downloading numpy-1.19.1-cp38-cp38-win_amd64.whl (13.0 MB)
- |████████████████████████████████| 13.0 MB 29 kB/s
- Collecting Pillow>=2.8.0
- Downloading Pillow-7.2.0-cp38-cp38-win_amd64.whl (2.1 MB)
- |████████████████████████████████| 2.1 MB 20 kB/s
- Collecting PyYAML
- Downloading PyYAML-5.3.1-cp38-cp38-win_amd64.whl (219 kB)
- |████████████████████████████████| 219 kB 30 kB/s
- Collecting qtpy
- Downloading QtPy-1.9.0-py2.py3-none-any.whl (54 kB)
- |████████████████████████████████| 54 kB 32 kB/s
- Collecting termcolor
- Downloading termcolor-1.1.0.tar.gz (3.9 kB)
- Collecting colorama
- Downloading colorama-0.4.3-py2.py3-none-any.whl (15 kB)
- Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3
- Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
- |████████████████████████████████| 67 kB 41 kB/s
- Collecting kiwisolver>=1.0.1
- Downloading kiwisolver-1.2.0-cp38-none-win_amd64.whl (58 kB)
- |████████████████████████████████| 58 kB 21 kB/s
- Collecting python-dateutil>=2.1
- Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
- |████████████████████████████████| 227 kB 17 kB/s
- Collecting cycler>=0.10
- Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
- Collecting six>=1.5
- Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
- Building wheels for collected packages: labelme, imgviz, termcolor
- Building wheel for labelme (setup.py) ... done
- Created wheel for labelme: filename=labelme-4.5.6-py3-none-any.whl size=1464603 sha256=4e8b713de06c4403e6ae6c342e5a5e8991aa47b94aed780a9be074218cf22401
- Stored in directory: c:usersliushuaitaoappdatalocalpipcachewheels5a0da87012260a1f1589abe857e76a6313cb440c8f34b8a26cf45267
- Building wheel for imgviz (PEP 517) ... done
- Created wheel for imgviz: filename=imgviz-1.2.2-py3-none-any.whl size=7673803 sha256=99a2fd94db19e11bfc57490b2bbb38b525a5a0f821f110149512b1387cb7972a
- Stored in directory: c:usersliushuaitaoappdatalocalpipcachewheels2e950ebf1567775e87d9ceb1504f7dc5ab07c699ddfc4c774fb79008
- Building wheel for termcolor (setup.py) ... done
- Created wheel for termcolor: filename=termcolor-1.1.0-py3-none-any.whl size=4835 sha256=b0993d6409f813cd103f4e8bdd673c624905d08d1e8cbfe67c1ad419e317c91d
- Stored in directory: c:usersliushuaitaoappdatalocalpipcachewheelsa0169c5473df82468f958445479c59e784896fa24f4a5fc024b0f501
- Successfully built labelme imgviz termcolor
- Installing collected packages: PyYAML, Pillow, numpy, pyparsing, kiwisolver, six, python-dateutil, cycler, matplotlib, imgviz, qtpy, termcolor, colorama, labelme
- Successfully installed Pillow-7.2.0 PyYAML-5.3.1 colorama-0.4.3 cycler-0.10.0 imgviz-1.2.2 kiwisolver-1.2.0 labelme-4.5.6 matplotlib-3.3.0 numpy-1.19.1 pyparsing-2.4.7 python-dateutil-2.8.1 qtpy-1.9.0 six-1.15.0 termcolor-1.1.0
-
- (labelme) C:Usersliushuaitao>labelme
- [INFO ] __init__:get_config:70 - Loading config file from: C:Usersliushuaitao.labelmerc
Window版本下载
- (base) C:Usersliushuaitao>conda activate labelme
-
- (labelme) C:Usersliushuaitao>pip install C:UsersliushuaitaoDesktopPyQt5-5.15.0-5.15.0-cp35.cp36.cp37.cp38-none-win_amd64.whl
- Processing c:usersliushuaitaodesktoppyqt5-5.15.0-5.15.0-cp35.cp36.cp37.cp38-none-win_amd64.whl
- Collecting PyQt5-sip<13,>=12.8
- Downloading PyQt5_sip-12.8.0-cp38-cp38-win_amd64.whl (63 kB)
- |████████████████████████████████| 63 kB 7.2 kB/s
- Installing collected packages: PyQt5-sip, PyQt5
- Successfully installed PyQt5-5.15.0 PyQt5-sip-12.8.0
-
- (labelme) C:Usersliushuaitao>pip install labelme
- Collecting labelme
- Downloading labelme-4.5.6.tar.gz (1.5 MB)
- |████████████████████████████████| 1.5 MB 30 kB/s
- Collecting imgviz>=0.11.0
- Downloading imgviz-1.2.2.tar.gz (7.7 MB)
- |████████████████████████████████| 7.7 MB 16 kB/s
- Installing build dependencies ... done
- Getting requirements to build wheel ... done
- Preparing wheel metadata ... done
- Collecting matplotlib
- Downloading matplotlib-3.3.0-cp38-cp38-win_amd64.whl (8.8 MB)
- |████████████████████████████████| 8.8 MB 25 kB/s
- Collecting numpy
- Downloading numpy-1.19.1-cp38-cp38-win_amd64.whl (13.0 MB)
- |████████████████████████████████| 13.0 MB 29 kB/s
- Collecting Pillow>=2.8.0
- Downloading Pillow-7.2.0-cp38-cp38-win_amd64.whl (2.1 MB)
- |████████████████████████████████| 2.1 MB 20 kB/s
- Collecting PyYAML
- Downloading PyYAML-5.3.1-cp38-cp38-win_amd64.whl (219 kB)
- |████████████████████████████████| 219 kB 30 kB/s
- Collecting qtpy
- Downloading QtPy-1.9.0-py2.py3-none-any.whl (54 kB)
- |████████████████████████████████| 54 kB 32 kB/s
- Collecting termcolor
- Downloading termcolor-1.1.0.tar.gz (3.9 kB)
- Collecting colorama
- Downloading colorama-0.4.3-py2.py3-none-any.whl (15 kB)
- Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3
- Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
- |████████████████████████████████| 67 kB 41 kB/s
- Collecting kiwisolver>=1.0.1
- Downloading kiwisolver-1.2.0-cp38-none-win_amd64.whl (58 kB)
- |████████████████████████████████| 58 kB 21 kB/s
- Collecting python-dateutil>=2.1
- Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
- |████████████████████████████████| 227 kB 17 kB/s
- Collecting cycler>=0.10
- Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
- Collecting six>=1.5
- Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
- Building wheels for collected packages: labelme, imgviz, termcolor
- Building wheel for labelme (setup.py) ... done
- Created wheel for labelme: filename=labelme-4.5.6-py3-none-any.whl size=1464603 sha256=4e8b713de06c4403e6ae6c342e5a5e8991aa47b94aed780a9be074218cf22401
- Stored in directory: c:usersliushuaitaoappdatalocalpipcachewheels5a0da87012260a1f1589abe857e76a6313cb440c8f34b8a26cf45267
- Building wheel for imgviz (PEP 517) ... done
- Created wheel for imgviz: filename=imgviz-1.2.2-py3-none-any.whl size=7673803 sha256=99a2fd94db19e11bfc57490b2bbb38b525a5a0f821f110149512b1387cb7972a
- Stored in directory: c:usersliushuaitaoappdatalocalpipcachewheels2e950ebf1567775e87d9ceb1504f7dc5ab07c699ddfc4c774fb79008
- Building wheel for termcolor (setup.py) ... done
- Created wheel for termcolor: filename=termcolor-1.1.0-py3-none-any.whl size=4835 sha256=b0993d6409f813cd103f4e8bdd673c624905d08d1e8cbfe67c1ad419e317c91d
- Stored in directory: c:usersliushuaitaoappdatalocalpipcachewheelsa0169c5473df82468f958445479c59e784896fa24f4a5fc024b0f501
- Successfully built labelme imgviz termcolor
- Installing collected packages: PyYAML, Pillow, numpy, pyparsing, kiwisolver, six, python-dateutil, cycler, matplotlib, imgviz, qtpy, termcolor, colorama, labelme
- Successfully installed Pillow-7.2.0 PyYAML-5.3.1 colorama-0.4.3 cycler-0.10.0 imgviz-1.2.2 kiwisolver-1.2.0 labelme-4.5.6 matplotlib-3.3.0 numpy-1.19.1 pyparsing-2.4.7 python-dateutil-2.8.1 qtpy-1.9.0 six-1.15.0 termcolor-1.1.0
-
- (labelme) C:Usersliushuaitao>labelme
- [INFO ] __init__:get_config:70 - Loading config file from: C:Usersliushuaitao.labelmerc
附加补充图:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。