错误描述:
'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环境即可
参考:https://blog.csdn.net/qq_33825817/article/details/88959785
所有评论(0)