0

I am using a Mac OSX, updated my bash_profile after following the instructions in one of the Udacity courses. However I am no longer able to access to my ipython notebook or even conda. I get the following

conda --version 
-bash: conda: command not found

also:

ipython nootebook 
-bash: ipythone: command not found

I am not sure how to fix this. I tryied erasing my .bash_profile file but it does not work. I also tried the suggestion here did not work and this one did not work either. I have also noticed that my the title in my terminal has and extra - . It reads carlosdelamora-- -bash--80x24 and I believe it used to be carlosdelamora--bash--80x24. I do not know if that is relevant.

  • I should say that I did not updated my .bash_profile file but I created one. I also have a .bash_profile-anaconda.bak, .bash_profile.pysave in my home directory. – Carlos De la Mora Jul 08 '16 at 20:08
  • Assuming default anaconda installation path, you just need to add this line to .bash_profile `export PATH=$HOME/anaconda/bin:$PATH` – Argonauts Jul 08 '16 at 22:07

1 Answers1

1

I would think that you have lost the PATH command added by Anaconda.

Add this to your .bash_profile

export PATH="/Users/<username>/anaconda/bin:$PATH"

(Replacing <username> with your username, of course.)

Tony Williams
  • 603
  • 3
  • 7