conda activate xxx出錯解決辦法

問題描述:

CommandNotFoundError: Your shell has not been properly configured to
use ‘conda activate’. To initialize your shell, run

$ conda init <SHELL_NAME>

Currently supported shells are:

  • bash
  • fish
  • tcsh
  • xonsh
  • zsh
  • powershell

See ‘conda init --help’ for more information and options.

IMPORTANT: You may need to close and restart your shell after running
‘conda init’.

解決辦法:
1.conda init bash
無果

source activate
source deactivate
conda activate xxxxx

即可

posted @ 2022-06-20 19:22  Dennis-Chen  阅读(54)  评论(0)    收藏  举报  来源