With pip installed, I am trying to install matplotlib in Ubuntu 12.04.4 LTS.
I got the following error when executing "sudo pip install matplotlib"
I guess this is because the python version is too old (2.7.3), So I follow this discussion, How to install the latest Python version on Debian separately or upgrade?, to build the latest 2.7.11 in /opt/python/.
My question is how to specify the newer version of python when installing matplotlib through pip?
Or should I just use "easy_install", which is not recommended by other people?
Thank you for precious time on my question.