Python Support Tools [0], Environment Pack management tool, Anaconda

Source: Internet
Author: User

Anaconda package management tools /Anaconda packages Management Tools

Anaconda is the world's most popular Python data science platform

Anaconda's guarantee tool allows users to set up specific environments for different projects, and the switch is very convenient, greatly improving the management efficiency of various installation environments.

1 Anaconda installation /Anaconda Install

Anaconda installation is very simple, directly on the official website to download the corresponding version of the installation package can be installed automatically integrated Python version of the corresponding.

After the installation is complete, you can run the specified Conda command in the cmd window.

2 Anaconda Basic Functions /Anaconda Basic Function

The following is an introduction to the basic functions and use of environmental management in Anaconda.

Start with the environment, run the command line, create a new environment with commands at the command line,

Conda create-n Env_name python=3.5  

The above command creates a new Python environment, located under/envs/env_name, where Env_name is the environment name, created for Python, and 3.5 is the Python version information used for that environment.

Note: in Anaconda, many commands can be followed by abbreviations, such as-N, which is actually an abbreviation for--name, and-H is the abbreviation for--HELP.

After creating the above environment, you can use the following command to activate and switch the environment,

Activate Env_name  

At this point Anaconda will activate the previously created environment and use Python in that environment and third-party packages that correspond to the installation. For software installation, you can choose to install using Conda or PIP

Conda Install Sw_name/pip Install Sw_name

3 Anaconda Common Commands /Anaconda Freq-command

Here are some common operations commands for Conda:

Version Management :

Conda--version View Conda version

Conda update Conda To upgrade the current version of Conda

Environmental Management :

Conda create-n/--name env_name pack_name Create a new environment and multiple packages that need to be installed

Conda info-e/Conda env list Show all environments (current environment plus *)

Conda create-n new_env--clone old_env Creating a new environment by cloning old_env

Conda remove-n env_name Delete an environment

[Source]activate env_name activation environment (Linux plus source, same as below)

[Source]deactivate exiting the current environment

Package Management :

Conda list shows Conda installed packages

Conda install-n/--name env_name pack_name using Conda installation package into the environment

Conda Install Pack_name installation package to the current environment

Conda remove-n env_name pack_name Deleting packages in the environment

Reference Links

https://www.anaconda.com/

http://blog.csdn.net/fyuanfena/article/details/52080270

Python Support Tools [0], Environment Pack management tool, Anaconda

Related Article

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.