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'.
出现这个错误的原因,我把conda的环境变量从.bashrc 移到了.profile 下面
解决过程:
终端输入:
conda init bash
会提示关闭终端,然后关闭再打开输入以下信息:
conda fish
会提示关闭终端,然后就好了,。。。。。。。