Reputation: 1471
I installed jupyter on my ubuntu system via the following command :
sudo pip install jupyter
After executing it I could run jupyter notebook
successfully.
But unfortunately while trying to upgrade it for python3, I accidentally deleted all jupyter
links from my /usr/local/bin
.
Now jupyter notebook
is not running. I have tried un-installing and re-installing also.
I have no clue about what should I do now.
Upvotes: 1
Views: 632
Reputation: 12130
Don't install python packages with sudo unless you really know what you're doing.
Try this instead:
$ virtualenv myvenv
$ cd myvenv
$ source bin/activate
$ pip install jupyter
$ jupyter notebook
To run it the next time (in a new shell session i.e), simply do:
$ cd myvenv
$ source bin/activate
$ jupyter notebook
Upvotes: 1