美文网首页
conda/系统自带 python 互不干扰

conda/系统自带 python 互不干扰

作者: Weiyx | 来源:发表于2018-07-25 09:18 被阅读0次

进入conda 安装目录

修改 .bashrc

加入如下内容

export PATH=$PATH:/home/weiyx/minconda3/bin

alias python="/usr/bin/python"

alias python3="/usr/bin/python3"

alias pyana="/home/weiyx/minconda3/bin/python3"

source ./bashrc

关闭shell 重启

敲入命令:pyana (进入的则是conda 中的python)

相关文章

网友评论

      本文标题:conda/系统自带 python 互不干扰

      本文链接:https://www.haomeiwen.com/subject/lvwumftx.html