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'
我在云服务器上跑代码时,出现激活环境出错,内容如上,解决办法很简单,先激活环境进入base即可。
解决办法:在终端运行:
source activate
之后: