每次打开terminal总自动激活base
(base) Rachel1900 (master #) ~
$ conda info -e
# conda environments:
#
base * /Users/Rachel1900/anaconda3
tensorflow1 /Users/Rachel1900/anaconda3/envs/tensorflow1
关掉办法:
在terminal 运行conda config --set auto_activate_base false
(base) Rachel1900 (master #) ~
$ conda deactivate
Rachel1900 (master #) ~
$ conda config --set auto_activate_base false
参考:stack overflow How do I prevent Conda from activating the base environment by default?