Installing problems

Hello Again
     Since I got no replies for my last question and figuring that it must be a problem with numpy (as Eric pointed out) I now have running python 2.6.4 and numpy 1.3.0 on OSX 10.4.11. Is there a need to uninstall previous matplotlib and reinstall it again? This page sounds pretty complicated for me: http://matplotlib.sourceforge.net/users/installing.html#build-osx?

There are multiple versions still existing on my computer. How can I clean up and install the latest version? Thank you all so much

Mitra

Hello,

There are multiple versions still existing on my computer. How can I
clean up and install the latest version? Thank you all so much

You need to check the different paths accessed by Python.
>>> import sys
>>> print sys.path
and remove the possible matplotib files in these paths. Typically, this includes /usr/lib/python2.6/site-packages, /usr/local/lib/..., /opt/lib/..., /sw/lib/... (on mac)

Then, download the .tar.gz file from matplotlib website, uncompress and in the folder run
$ python setup.py build

That command will check dependencies before building, indicating what is needed.

If some dependencies are not met, I suggest to use a package manager to install them. I use Fink on OS 10.4.11 with no problem, but I am still at Python 2.5 running matplotlib 1.0.svn .

Pierre

···

Le 2 nov. 09 à 20:11, R. Mitra a écrit :

Hello Again
     Since I got no replies for my last question and figuring that it
must be a problem with numpy (as Eric pointed out) I now have running
python 2.6.4 and numpy 1.3.0 on OSX 10.4.11. Is there a need to
uninstall previous matplotlib and reinstall it again? This page
sounds pretty complicated for me: http://matplotlib.sourceforge.net/
users/installing.html#build-osx?
Mitra

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Hello Mitra,

If you haven't solved your problem yet, I would highly recommend cleaning up
previous versions and using the make.osx file supplied with the matplotlib
download. Edit the PREFIX to replace the example target directory with your
own target directory.
Make sure the MACOSX_DEPLOYMENT_TARGET and the MacOSX versions in the CFLAGS
and LDFLAGS are all set to the version you are using, presumably 10.4.

The make.osx script will check all the required dependencies and go get the
ones it needs for you.

I had a lot of trouble installing matplotlib on 10.6 until I followed this
procedure.

Good luck,
Bill

···

On 11/2/09 12:11 PM, "R. Mitra" <rmitra@...376...> wrote:

Hello Again
     Since I got no replies for my last question and figuring that it
must be a problem with numpy (as Eric pointed out) I now have running
python 2.6.4 and numpy 1.3.0 on OSX 10.4.11. Is there a need to
uninstall previous matplotlib and reinstall it again? This page
sounds pretty complicated for me: http://matplotlib.sourceforge.net/
users/installing.html#build-osx?

There are multiple versions still existing on my computer. How can I
clean up and install the latest version? Thank you all so much

Mitra

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Hello All
    I did everything as Pierre suggested. But after using setup.py this is what I am getting

"error: command 'gcc-4.0' failed with exit status 1"

Anyone familiar with this bug

···

On Nov 2, 2009, at 12:42 PM, Pierre de Buyl wrote:

Hello,

There are multiple versions still existing on my computer. How can I
clean up and install the latest version? Thank you all so much

You need to check the different paths accessed by Python.
>>> import sys
>>> print sys.path
and remove the possible matplotib files in these paths. Typically, this includes /usr/lib/python2.6/site-packages, /usr/local/lib/..., /opt/lib/..., /sw/lib/... (on mac)

Then, download the .tar.gz file from matplotlib website, uncompress and in the folder run
$ python setup.py build

That command will check dependencies before building, indicating what is needed.

If some dependencies are not met, I suggest to use a package manager to install them. I use Fink on OS 10.4.11 with no problem, but I am still at Python 2.5 running matplotlib 1.0.svn .

Pierre

Le 2 nov. 09 à 20:11, R. Mitra a écrit :

Hello Again
     Since I got no replies for my last question and figuring that it
must be a problem with numpy (as Eric pointed out) I now have running
python 2.6.4 and numpy 1.3.0 on OSX 10.4.11. Is there a need to
uninstall previous matplotlib and reinstall it again? This page
sounds pretty complicated for me: http://matplotlib.sourceforge.net/
users/installing.html#build-osx?
Mitra

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Does the egg at:

http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/

matplotlib-0.99.1.1-py2.5-macosx-10.3-i386.egg

not work for you? the 10.3 means "10.3 or greater", and I'm pretty sure it is Universal, rather than just i386 as well. It should work with the python.org Python 2.5

there is:

matplotlib-0.99.1.1-py2.6-macosx-10.3-fat.egg

for Python 2.6

I haven't had to compiled MPL is a good while.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...259...