解决CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘.To initi

╰半橙微兮° 2022-12-31 07:28 267阅读 0赞

解决CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate’.To initialize your shell, run

操作命令 进入环境sk_learn(我自己的环境名称)

  1. conda activate sk_learn

报错信息

  1. CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
  2. To initialize your shell, run
  3. $ conda init <SHELL_NAME>
  4. Currently supported shells are:
  5. - bash
  6. - fish
  7. - tcsh
  8. - xonsh
  9. - zsh
  10. - powershell
  11. See 'conda init --help' for more information and options.
  12. IMPORTANT: You may need to close and restart your shell after running 'conda init'.

解决办法

  1. source activate
  2. conda activate sk_learn

欢迎大家交流学习,任何问题都可以留言

发表评论

表情:
评论列表 (有 0 条评论,267人围观)

还没有评论,来说两句吧...

相关阅读