How to run Conda?

后端 未结 30 1645
予麋鹿
予麋鹿 2020-11-22 08:56

I installed Anaconda and can run Python, so I assume that I installed it correctly. Following this introductory documentation, I am trying to install Python v3.3, so I am co

30条回答
  •  情歌与酒
    2020-11-22 09:33

    This info is current as of today, August 10, 2016. Here are the exact steps I took to fix this using methods posted above. I did not see anyone post: export PATH=$PATH:$HOME/anaconda/bin (you need to add export to the beginning of the line).

    Here it is, step-by-step:

    For anyone running into the same problem while using oh-my-zsh, you need to do the following:

    -Open your .zshrc in your terminal. I am using iTerm 2 and have Sublime Text 3 as my default text editor:

    subl ~/.zshrc

    -Once the file opens in your text editor, scroll to the very bottom and add:

    export PATH=$PATH:$HOME/anaconda/bin

    -Save the file, then close it.

    -Close your terminal, then relaunch it.

    -Once back in your terminal, type:

    conda --v

    You should then see the version of conda installed printed on your screen.


    If you're using zsh, then after doing that, your terminal may show you zsh: command not found: rvm-prompt.

    The solution is:

    1. add alias rvm-prompt=$HOME/.rvm/bin/rvm-prompt within .zshrc file.
    2. type source .zshrc.

    Then the zsh: command not found: rvm-prompt will disappear.

提交回复
热议问题