遇到的问题提示大概描述下:
To initialize your shell, run
$ conda init <SHELL_NAME>
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,就可以了
VSCode中Conda初始化问题解决办法
博客主要讲述了在VSCode中遇到Conda初始化的问题,提示可运行conda init <SHELL_NAME>进行初始化,支持bash、cmd.exe等多种shell。解决办法是在VSCode terminal powershell中执行conda init后重启,或在windows PowerShell(管理员)中输入命令并确认,最后再重启VSCode。
4万+

被折叠的 条评论
为什么被折叠?



