0

I have two pythons installed on my ubuntu

  1. sudo which python
  2. 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:

Snapshot what I did!

Mel
  • 5,837
  • 10
  • 37
  • 42
Nomiluks
  • 2,052
  • 5
  • 31
  • 53
  • What use case do you have that requires `ipython notebook` to have sudo privileges ? – cel Jan 06 '16 at 10:56
  • hey i resolved it using this command "sudo apt-get install ipython-notebook". Actually sudo pip doesn't work i think. Therefore i tried that and installed ipython-notebook and then i tried "sudo ipyton notebook" and it worked! :) – Nomiluks Jan 06 '16 at 10:59

1 Answers1

0

Iresolved it using this command sudo apt-get install ipython-notebook. Actually sudo pip doesn't work i think. Therefore i tried that and installed ipython-notebook and then i tried "sudo ipyton notebook" and it worked! :

Nomiluks
  • 2,052
  • 5
  • 31
  • 53