CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘. To initia

@CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate’.
To initialize your shell, run

$ conda init 

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’.TOC

运行conda activate xxx报错

具体报错内容:

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run

    $ conda init 

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'.

#解决办法
输入source activate命令激活虚拟环境
CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘. To initia_第1张图片

你可能感兴趣的:(conda,linux,python)