无法在bash之外运行conda?

时间:2018-10-19 21:06:45

标签: python bash macos terminal conda

  

-bash:conda:找不到命令

我尝试遵循此 How to run Conda?

但是每次我都要输入

export PATH=~/miniconda3/bin:$PATH

我尝试添加到.bash_profile.bashrc中,但是随后发生的事情是:

当我打开终端conda命令时将不起作用,但是当我输入bash并输入bash然后我输入conda时,它可以很好地工作。

任何建议如何使conda在bash之外起作用?

P.S我正在使用MAC

我的.bash_profile

export ANDROID_SDK = "/Users/vivanksharma/Downloads/Tools
export PATH = $PATH:"$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools"

# added by Anaconda3 5.2.0 installer
export PATH="/Volumes/MACExtended/Softwares/Python/anaconda3/bin:$PATH"

# Setting PATH for Python 3.7
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin:${PATH}"


# added by Miniconda3 installer
export PATH="~/miniconda3/bin:$PATH"

0 个答案:

没有答案