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'.shell

解決方法:spa

一、激活環境code

#激活環境
source activate

二、退出環境blog

conda deactivate

三、激活baseclass

conda activate base

 h好像這個辦法只能短暫的解決問題,再打開仍是會出現,最後從anaconda navigator界面卸載vs code再安裝就沒問題了......perl

相關文章
相關標籤/搜索