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.
1. 在VSCode terminal powershell 中执行conda init后重启vscode conda init
2. windwos开始处右击 点windows PowerShell(管理员),以管理员权限打开,输入命令
set-ExecutionPolicy RemoteSigned
然后Y,之后回车确定执行命令
3. 重启下vscode,就可以了