Anaconda使用conda activate激活环境报错Your shell has not been properly configured to use 'conda activate'.

在vs code下打开终端会报错Your shell has not been properly configured to use 'conda activate'.

解决方法:

1、激活环境

#激活环境
source activate

2、退出环境

conda deactivate

3、激活base

conda activate base

 h好像这个办法只能短暂的解决问题,再打开还是会出现,最后从anaconda navigator界面卸载vs code再安装就没问题了......

原文地址:https://www.cnblogs.com/jdwfff/p/10499950.html