参考链接:
https://github.com/conda/conda/issues/7980
https://github.com/conda/conda/blob/master/CHANGELOG.md#440-2017-12-20
使用anaconda3创建新的环境,新的激活和激死?方式如下:
To activate this environment, use
$ conda activate 环境名称
To deactivate an active environment, use
$ conda deactivate
但是如果你的anaconda是从一个老版本更新的,$ conda activate 环境名称 会出现如下问题:
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
If your shell is Bash or a Bourne variant, enable conda for the current user with
$ echo ". ~/anaconda/etc/profile.d/conda.sh" >> ~/.bash_profile
or, for all users, enable conda with
$ sudo ln -s ~/anaconda/etc/profile.d/conda.sh /etc/profile.d/conda.sh
The options above will permanently enable the '