ou may need to close and restart your shell after running ‘conda init‘
当我使用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 suppor
·
当我使用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'.
解决方法一:
网上的解决方案大部分都是下面这样:
source activate
conda deactivate
解决方法二:
使用命令:source activate XXX
也就是将conda换成source就可以了!
更多推荐
已为社区贡献5条内容
所有评论(0)