Skip to content

Instantly share code, notes, and snippets.

@cecepm
Last active December 23, 2015 17:19
Show Gist options
  • Save cecepm/6668013 to your computer and use it in GitHub Desktop.
Save cecepm/6668013 to your computer and use it in GitHub Desktop.
Install Scientific iPython on Ubuntu 12.04

Install iPython Notebook

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment