Python learning artifact, anaconda installation and use.

Source: Internet
Author: User

Anaconda is a Python release for scientific computing that supports Linux, MAC, Windows, and Python packages that contain a number of popular scientific calculations and data analysis.

The most tedious of Python learning is the management of different versions and libraries, and Anaconda is managing all versions as packages (including Conda).

Can go to Tsinghua's open source mirror station to download, https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/.

By the way Amway under the Anaconda Warehouse image of Tsinghua University.

After the download is complete, run the following command from CMD to add the anaconda image.

Conda config--add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/Conda config- -set Show_channel_urls Yes

Common commands:

Create an environment:

Conda Create-n [Name of new environment] Python=[python version]

Example: Conda create-n py361 python=3.6.1

To activate an environment:

Activate [Environment name]

Example: Activate py361

Install the library/package:

Conda install [Name of library/package]

Example: Conda Install Scrapy

To delete an existing environment:

Conda Remove-n [Name of the environment]--all

Personally feel that there are some advantages of anaconda.

1. Each environment switch is simple.

2. installation package does not error! No error! No error!

Love Python is bound to fall in love with Anaconda.

Python learning artifact, anaconda installation and use.

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.