遇到的问题提示大概描述下:


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,就可以了

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐