I think John Zuhone may have run into this.  Copy/pasting from google+:

For those having trouble compiling matplotlib on Mountain Lion due to ostream/instantiation/ft2font errors, setting the compiler flags to -mmacosx-version-min=10.7" should fix it. 

I have no idea how he set the compile flags or whether this will work for you.  Sorry that I can't give you more detailed instructions...



On Aug 6, 2012, at 11:07 AM, Devin Silvia wrote:

Howdy yt-dev,

I just recently got a brand-spankin' new mac laptop and I'm trying to
see if I can get yt installed.  I'm upgraded to Mountain Lion, so I
realize I might be in unexplored territory, but I thought maybe I
could get the tips and trick for getting things installed on Lion and
perhaps they will translate well.  As it stands currently, the install
script is failing when it tries to install matplotlib and it seems to
be an issue with freetype (or perhaps the compiler).  This is the
output of yt_install.log after pip successfully installs:


Any help/suggestions would be greatly appreciated.


"I'm here to fight for truth, and justice, and the American way."
yt-dev mailing list