On 14-Sep-2010 09:25, Eric Firing wrote:
On 09/13/2010 12:55 PM, Eric Firing wrote:
If you would like up-to-date versions of both numpy and matplotlib, then
you can either find and install the *dev packages individually, or do
something like this:
sudo apt-get build-dep python-matplotlib
sudo apt-get remove python
No! I meant:
sudo apt-get remove python-numpy
Eric
Now untar your numpy, go in, build and install:
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Ok Eric and Ben,
You made my day --- 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 you had posted earlier on this
problem Eric, so that others might benefit from your expertise (as I have):
*# Thanks to Eric Firing (efir...@hawaii.edu) who is a member of the matplotlib
# user group for this clever use of Linux commands to accomplish the task
# that solved my problem :-)
#
# Lets "clean the slate" before a reinstallation (if you believe older versions
are present)
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)
sudo apt-get build-dep python-matplotlib
# Now to get rid of the old version of numpy
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
python setup.py build
python setup.py install
# Repeat the previous for matplotlib (download tar, untar it, etc.)
python setup.py build
python setup.py install*
and th-th-tha-that-that's all folks!
--V
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users