Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install ipython notebook locally?

I would like to use ipython notebook. When I type ipython notebook in the command line, I get:

Could not start notebook. Please install ipython-notebook

The problem is that I do not have root privileges on the system (I use Ubuntu). I think that there is a work around with virtual environment but I do not know how exactly to use it. Could anybody please help me with that? What sequence of the command should I execute to be able to use ipython notebook in my browser?

like image 531
Roman Avatar asked Nov 30 '22 12:11

Roman


1 Answers

After running pip install ipython[notebook], you need to deactivate the virtualenv and then activate it again.

In other words:

$ deactivate
$ workon my-virtualenv
(my-virtualenv)$ ipython notebook &
like image 99
Leiksu Avatar answered Dec 02 '22 00:12

Leiksu