anaconda environment management-base environment-other environments

https://www.jianshu.com/p/a60dfd88bb33

(1) After ubuntu installs anaconda, open the terminal command line and it will automatically switch to the base environment

The base environment is the environment where the home directory is located.

There are two ways to open the interface in the environment where the base is located

1. Desktop user folder: seeta

After double-clicking seeta, the interface:

Click to open the terminal and the terminal displays (that is, the base environment):

2. Click on the search bar on the left, as above.

(2) Check the anaconda version and the installed packages of anaconda (see the appearance of the sea king and the weapons he has-different environments are different identities, and you need to use these equipment to hunt beauty)

Check the installed environment: conda -V

View installed packages: conda list

(3) View the environmental information that anaconda has created conda env list or conda info --envs 

(4) Entering the environment is also called the activation environment -active* Entering the torch environment in the figure is source activate torch. The local custom shortcut key torch_use is all feasible. You can also use conda activate * such as conda activate sun

(5) Exit the environment conda deactivate (other local machines are not easy to use)

(6) ctrl D exits the python command line, and also exits the entire shell command! The brush is gone. Hee hee~ refreshing

https://blog.csdn.net/weixin_39872191/article/details/111777667

 

Guess you like

Origin blog.csdn.net/weixin_42133481/article/details/115083849