我使用的命令行是zsh,因此:
在文件.zshrc中写入:
export PATH="/anaconda3/bin:$PATH"

命令行下更新文件:
source .zshrc

测试conda命令,成功
然后命令行写python,发现版本已经切换到了python3

参考:
http://blog.csdn.net/qq_16735407/article/details/50561144

相关文章:

  • 2021-08-29
  • 2021-06-27
  • 2021-11-19
  • 2021-12-03
  • 2021-09-11
  • 2021-05-19
  • 2021-07-24
猜你喜欢
  • 2021-10-22
  • 2021-11-22
  • 2022-12-23
  • 2019-09-16
  • 2022-12-23
  • 2021-06-28
  • 2021-11-27
相关资源
相似解决方案