【问题标题】:Anaconda linux install: conda: command not foundAnaconda linux安装:conda:找不到命令
【发布时间】:2017-04-13 02:38:49
【问题描述】:

所以我根据官方downloads页面和this的说明安装了Anaconda for Python 3.6。

我按照所有步骤操作,当我被问到是否要将 Anaconda3 安装位置添加到我的 bashrc 时,我说是的。当我打印出该文件的内容时,我有:

# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
   . /etc/bashrc
fi

# added by Anaconda 2.3.0 installer
export PATH="/home/username/anaconda/bin:$PATH"

# added by Anaconda3 4.3.1 installer
export PATH="/home/username/anaconda3/bin:$PATH"

很明显,它已被添加。但是,当我运行conda -V 时,我得到:

bash: conda: commmand not found...

还有什么可能导致这种情况?

【问题讨论】:

    标签: python linux bash anaconda


    【解决方案1】:

    您需要获取该文件,或打开一个新的终端实例,以便应用配置:

    source ~/.bashrc
    

    【讨论】:

    • 谢谢!小错误让我发疯。将在 8 分钟内接受。 :)
    猜你喜欢
    • 2018-04-08
    • 2017-02-08
    • 1970-01-01
    • 2016-01-14
    • 2017-05-14
    • 2015-10-15
    • 2015-05-30
    • 2019-07-14
    • 2020-05-11
    相关资源
    最近更新 更多