Your shell has not been properly configured to use ‘conda activate‘

今天在终端激活conda环境时遇到的报错

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.

解决方法

conda init cmd.exe
上一篇:第9天 | 28天学会PyQt5,数据传递事件


下一篇:anaconda下安装pytorch