Installing ipython
To install ipython easily:
If your system supports apt-get,
sudo apt-get install ipython
If your system supports pip,
sudo pip install "ipython[notebook]"
For all others, install the Anaconda version of python as described at http://ipython.org/install.html.