Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can not start ipython notebook from anaconda

I have installed anaconda into my home directory and added the path to PATH os variable

and installed ipython notebook in anaconda with command

conda install ipython-notebook

it works fine

after that I opened terminal and typed in

ipython notebook

it reported

Could not start notebook. Please install ipython-notebook

Have I done something wrong on the installation?

The output of

conda list | grep ipython

is

ipython                   2.3.1                    py27_0  
ipython-notebook          2.3.1                    py27_0  
ipython-qtconsole         2.2.0                    py27_0
like image 605
Hello lad Avatar asked Dec 20 '22 09:12

Hello lad


1 Answers

Could be a couple of things:

conda installs ipython into the active conda environment. If bash had seen a previous invocation of ipython it might have that location hashed.

Run hash -r to clear the shell hashed lookups after installing anything that places a new executable in your path. Things like:

  • ipython
  • pip
  • binstar
  • ...
like image 147
Phil Cooper Avatar answered Dec 26 '22 18:12

Phil Cooper