Anaconda common command operations?

How to create an environment

   conda create -n pytorch python=3.6

   After selecting y to

How to activate the environment

    activate pytorch

How do I delete the environment?

    conda remove -n pytorch --all

How to exit the environment?

    Behind deactivate is no arguments, exit to the base environment.

How do I delete all environments?

    Go to E: \ Anaconda3 \ envs \ applies to all folders can be deleted

 

View installed the current environment?

    conda info --envs

 

View python version in the current environment

    python --version

 

 

conda and pip What is the difference?

    pip python package allows the installation in any environment, while conda allow any language pack conda environment (including the python language or c)

 

 

How to view the type of the current environment anaconda packages installed?

pip list

 

Created out of the bag by conda create the environment if less than the base environment inside the package?

 

Published 41 original articles · won praise 9 · views 10000 +

Guess you like

Origin blog.csdn.net/u014723479/article/details/103000255