我使用Cmder作为我的命令行工具,最近安装了Anaconda,想在Cmder会话中使用Conda而不是打开Anaconda提示符。
当然,Cmder无法识别conda
命令。当我导航到安装Anaconda的路径并尝试运行_conda.exe acrivate base
时,会出现以下错误:
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
If using 'conda activate' from a batch script, change your
invocation to 'CALL conda.bat activate'.
To initialize your shell, run
$ conda init <SHELL_NAME>
Currently supported shells are:
- bash
- cmd.exe
- 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'.
我该怎么办?