Just a note to say that I got matplotlib installed with only a few issues to solve. As before, I relied on Gavin Huttley's instructions (here). Although the matplotlib instructions say you should install a different Python, I've found that just leads to confusion down the road, and I want to try to use the system version only if I can get away with it. YMMV.
The sticking points for the install always have to do with the basic dependencies, which are listed at the top of the file
make.osxin the matplotlib source (from here). The source is the last link at the bottom.
As silly as it seems, although OS X provides excellent functionality for dealing with compression, png images and fonts, we need to install these libraries for matplotlib to use. Unfortunately, I'm not expert enough to alter matplotlib to get rid of these dependencies, so we're stuck with it.
I got libpng-1.2.39 from here. I used this version b/c that's what matplotlib asks for, despite the fact that the current release is 1.5.4 (here). Standard magic incantations:
According to Gavin's notes, we need these compiler flags for the other two (but they interfere with the libpng build):
zlib is a compression library. The current version is 1.2.5. I tried this:
but as I've seen before, although you get a (small) file back that has the right icon, it is really a
404 Page Not Found, which doesn't do me any good. It seems the older versions have been disappeared off the web and I couldn't find them poking around on the site. What I should've done at this point is try the version they do offer, but instead I went to my other machine and grabbed 1.2.3. I guess that since I'd used it before to build zlib, I found I needed to
Finally, I got the matplotlib source. I altered the file
Edit the above file to have:
[ UPDATE: I see I used freetype 2.3.7 rather than 2.3.11, by mistake.
And if you don't like my approach, you could use Homebrew and follow this post. I don't have any experience with this yet. ]