Ok,
I now have the latest numpy and matplotlib up and running on my Ubuntu 10.04 64-bit system. Some preliminary testing indicates things are working as they should. I am now summarizing what Eric Firing posted to the matplotlib user group on this, so that others might benefit from his expertise (as I have):
# Thanks to Eric Firing (efiring@hawaii.edu) who is a member
# the matplotlib user group for this clever use of Linux commands
# to solve my problem 
#
# Lets "clean the slate" before a reinstallation (if you believe older
# versions are present)
Code:
sudo rm -rf /usr/local/lib/python2.6/dist-packages/matplotlib*
sudo rm -rf /usr/local/lib/python2.6/dist-packages/pylab*
sudo rm -rf /usr/local/lib/python2.6/dist-packages/mpl_toolkits/mplot3d
sudo rm -rf /usr/local/lib/python2.6/dist-packages/mpl_toolkits/axes_grid
sudo rm -rf /usr/local/lib/python2.6/dist-packages/mpl_toolkits/axes_grid1
sudo rm -rf /usr/local/lib/python2.6/dist-packages/mpl_toolkits/axisartist
sudo rm /usr/local/lib/python2.6/dist-packages/mpl_toolkits/*.py
# Install all the dependencies (installs an old version of numpy)
Code:
sudo apt-get build-dep python-matplotlib
# Now to get rid of the old version of numpy
Code:
sudo apt-get remove python-numpy
# Download the latest numpy tar, untar it, then navigate to
# where setup.py for numpy is located and give the following commands
Code:
python setup.py build
python setup.py install
# Repeat the previous for matplotlib (download tar, untar it, etc.)
Code:
python setup.py build
python setup.py install
and th-th-tha-that-that's all folks!
--V
Bookmarks