conda使用环境未被激活问题

报错信息:

See ‘conda init --help’ for more information and options.

IMPORTANT: You may need to close and restart your shell after running ‘conda init’.

解决办法

  第一步,右键单击桌面开始按钮选择Windows PowerShell(管理员)在命令行窗口输入conda init
  第二步,按快捷键win+R输入conda activate

错误原因

  ssh连接该服务器使用conda activate python36命令激活环境后未使用conda deactivate退出环境就关闭终端导致的。


你可能感兴趣的:(anaconda)