Conda Commands

Python env management

List the envs

➜  ~ conda env list
# conda environments:
#
data-structures          /Users/yq/.conda/envs/data-structures
base                  *  /Users/yq/anaconda3
tensorflow1              /Users/yq/anaconda3/envs/tensorflow1
yolo                     /Users/yq/anaconda3/envs/yolo

Change env to base

➜  ~ conda activate base     
(base) ➜  ~ 

Exit the env

conda deactivate

相关文章: