Install ZMQ manually:
tar xvf zeromq-2.1.11.tar.gz
cd zeromq-2.1.11/
./configure
make
sudo make install
sudo ldconfig
Then install ipython with zmq:
sudo easy_install ipython[zmq,test]
There was an error on completion but zmq bindings were installed and
ipython notebook
works.
Now install matplotlib:
sudo apt-get install python-dev libfreetype6-dev --- yes. This seems correct.
sudo easy_install matplotlib ---- No: this attempted to compile, and failed.
sudo apt-get install python-matplotlib # that was easy....
$ ipython notebook --pylab=inline