ubuntu16.04 installation LabelMe

Source: Internet
Author: User

1, Installation Anaconda

Download

Official: Https://www.continuum.io/downloads
All installation packages Address: https://repo.continuum.io/archive/
The Python 3.5 version of "anaconda3-4.2.0-linux-x86_64.sh" is used here and can be downloaded FQ if the download is slow or the download fails.
Also can directly use my Baidu cloud to share files: Link: Http://pan.baidu.com/s/1boDmMZX Password: 0ega

Installation

Go to the file directory to unzip, run the following statement to start the installation

$ bash anaconda2-5.0.1-linux-x86_64.sh

Welcome to Anaconda2 5.0.1

In order to continue the installation process, please review the license
Agreement.
Please, press ENTER to continue
>>>
===================================
Anaconda End User License Agreement
===================================

Copyright, Anaconda, Inc.

..........

Cryptography
A Python Library which exposes cryptographic recipes and primitives.


Does you accept the license terms? [Yes|no]
[No] >>> Yes

Welcome to Anaconda2 5.0.1

In order to continue the installation process, please review the license
Agreement.
Please, press ENTER to continue
>>>
===================================
Anaconda End User License Agreement
===================================

Copyright, Anaconda, Inc.

Cryptography
A Python Library which exposes cryptographic recipes and primitives.


Does you accept the license terms? [Yes|no] [No] >>> Yes

Anaconda2 'll now is installed into the This location:
/home/luo/anaconda2

-Press ENTER to confirm the location
-Press CTRL-C to abort the installation
-Or Specify a different location below

[/home/luo/anaconda2] >>>
Prefix=/home/luo/anaconda2
Installing:python-2.7.14-hc2b0042_21 ...
Python 2.7.14:: Anaconda, Inc.
Installing:ca-certificates-2017.08.26-h1d4fec5_0 ...
......
Installing:jupyter-1.0.0-py27h505fd4b_0 ...
Installing:anaconda-5.0.1-py27hd9359a7_1 ...
Installation finished.
Do you wish the installer to prepend the Anaconda2 install Locationto PATH in YOUR/HOME/LUO/.BASHRC? [Yes|no] [No]

>>> Yes

Appending Source/home/luo/anaconda2/bin/activate TO/HOME/LUO/.BASHRC
A backup would be made to:/home/luo/.bashrc-anaconda2.bak


For the change to become active, you have to open a new terminal.

Thank for installing anaconda2!
[Email protected]:~/desktop/myfile$ source ~/.BASHRC

2. Installing Docker

$ sudo apt-get install-y Docker.io

$ sudo ln-sf/usr/bin/docker.io/usr/local/bin/docker

$ docker-v
Docker version 1.13.1, build 092cba3

Then run the following statement:

$ wget Https://raw.githubusercontent.com/wkentaro/labelme/master/scripts/labelme_on_docker

3, Installation PyQT4

$ sudo apt-get install python-qt4 pyqt4-dev-tools

Do you want to continue? [y/n] Y

4. If you have not previously installed PIP, you need to install PIP

$ sudo apt-get install Python-pip python-dev build-essential

Do you want to continue? [y/n] Y

$ sudo pip install--upgrade pip

$ sudo pip install--upgrade virtualenv

5, Installation LabelMe

$ sudo pip install LabelMe

The following statement appears to indicate that the installation was successful:

Installing collected Packages:pyparsing, Backports.functools-lru-cache, Subprocess32, Pytz, six, Python-dateutil, Cycler, NumPy, Matplotlib, Pillow, scipy, Pyyaml, LabelMe
Running setup.py Install for subprocess32 ... done
Running setup.py Install for Pyyaml ... done
Running setup.py Install for LabelMe ... done
Successfully installed Pillow-5.0.0 PyYAML-3.12 backports.functools-lru-cache-1.4 cycler-0.10.0 labelme-2.6.4 matplotlib-2.1.2 numpy-1.14.0 pyparsing-2.2.0 python-dateutil-2.6.1 pytz-2017.3 scipy-1.0.0 six-1.11.0 subprocess32-3.2.7

6, the current operation will still error, you need to run the following command

$ sudo apt-get install PYTHON-TK

Processing triggers for Libc-bin (2.23-0UBUNTU9) ...
Setting tk8.6-blt2.5 (2.5.3+dfsg-3) ...
Setting BLT (2.5.3+dfsg-3) ...
Setting PYTHON-TK (2.7.11-2) ...
Processing triggers for Libc-bin (2.23-0UBUNTU9) ...

OK, all commands are completed and you can now run the program:

$ LabelMe

If the following interface appears, the identity program installation succeeds:

ubuntu16.04 installation LabelMe

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.