vscode conda activate激活环境出错

vscode conda activate 出错

conda-script.py: error: argument COMMAND: invalid choice: ‘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.

1 vscode 终端是 powershell :

 conda init  powershell

2 重启软件即可

你可能感兴趣的:(其它,Python,vscode,conda,ide)