Tuesday, March 29, 2011

Installing matplotlib in user space

Problem:

Need to install matplotlib in user space, because I'm going to use a HPC cluster and their version of everything is just a little out of date.

Solution:

svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib matplotlib
cd matplotlib
python setup.py install --home=~


Now add to .bash_login the lines
PYTHONPATH='/home/kg46/lib/python/'
export PYTHONPATH


And python is picking up the svn version

No comments:

Post a Comment