I ran into a series of errors and finally managed to make Ipython run on my Ubuntu 12. Notice I am adding some extra stuff in terms of mathjax and pandoc but that is just for a smoother install. Note the trouble point was the package pyzmq but it was troubleshooted by both the –upgrade option as well as the installing of python-dev
sudo apt-get install python-pip
sudo apt-get install python-dev
sudo pip install --upgrade ipython[all]
sudo pip install invoke
sudo pip install jinja2
sudo pip install --upgrade pyzmq
sudo python -m IPython.external.mathjax
sudo apt-get install pandoc
sudo pip install tornado jsonschema
ipython notebook
Sources-