2.12.1) on an OSX machine. Btw, matplotlib does not build on OSX
currently – a person needs to upgrade gcc first (from 4.0.1 to 4.2).
I saw John posted a compiler error (resulting from this problem) on
some other list, so it’s something to keep in mind.
Yes, my colleague, Jules, and I ran into this yesterday. Very
frustrating. We also ran into some sort of problem involving,
apparently, a mixture of libraries and/or object modules with and
without dual ppc/intel code, but from the error messages it was
impossible for us to track down beyond that. It might have been obvious
to an OSX wizard. Jules was trying to follow John’s instructions
carefully. Numpy went in flawlessly. Scipy went in OK, we think, but
the test needed nosetest, and then when that was installed, it failed.
We gave up on the matplotlib installation.
On a new machine without the proper depdendencies, you might want to try first the makefile in release/osx, which will wget the depenencies, build them with the right flag, and link them in statically. There is a README in that directory with instructions, but here is a crib sheet from the command history I just executed (which still works on my box)::
# build the dependencies
sudo python setup.py install
# build the mpl sdist
python setup.py sdist
mv dist/matplotlib-0.98.6svn.tar.gz release/osx/
# set the version number in the Makefile to 0.98.6svn and build the
On a machine that does have the dependencies properly buily and installed, I use
with the Makefile that lives alongside setup.py. This still works for me with the native gcc 4.0.1 on my 10.5 machine and then you can do a normal python setup.py install.
On Sat, Apr 19, 2008 at 7:13 PM, Eric Firing <efiring@…552…229…> wrote: