I have two pythons installed on my ubuntu
sudo which python
which python
(anaconda).
And both pythons have ipython installed in it. When I run ipython notebook
(anaconda) it simply takes me to the browser and works perfectly. But, when I run it like sudo ipython notebook
(calling from systems python) it gives me an error. I want run ipython in browser in both cases.
What I do: