Pycharm里遇到CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate’

学习笔记

在创建conda环境时,遇到问题:

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
If using 'conda activate' from a batch script, change your
invocation to 'CALL conda.bat activate'.

To initialize your shell, run

    $ conda init 

Currently supported shells are:
  - bash
  - cmd.exe
  - 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'.

我们可以

修改环境变量,例如

D:\Anaconda\Scripts 
改成
D:\Anaconda\condabin

方法鉴于pyCharm Terminal CommandNotFoundError: Your shell has not been properly configured to use ‘conda ac_pycharm commandnotfounderror: your shell has not b_条件漫步的博客-CSDN博客

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