Install virtualenv and virtualenvwrapper
sudo apt-get install python-virtualenv virtualenvwrapper
Create virtual environment
mkvirtualenv ipy
Install build dependecy for numpy, scipy and matplotlib
sudo apt-get build-dep python-numpy python-scipy matplotlib
Install latest numpy, scipy and matplotlib using pip, please make sure we are in virtual environment we have created before
workon ipy
pip install numpy
pip install scipy
pip install matplotlib
Requirement for running ipython notebook
sudo apt-get install libzmq-dev
pip install pyzmq
pip install pygments
pip install jinja2
pip install tornado
pip install ipython
Run iPython Notebook
ipython notebook