Anaconda常见错误: Your shell has not been properly configured to use ‘conda activate‘

报错信息

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

conda activate your_env_name

 

你可能感兴趣的:(anaconda)