2010/8/9 Markus Baden <markus.ba...@gmail.com>:
> On my Macbook Pro I use Python 2.6 as provided by the Enthought Python
> Distribution. I ran into some problem with Axes3D so I decided to
> upgrade to the latest version from source. While trying that I got a
> similiar error message as discussed in
>
> http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg12938.html
>
> i.e. error: png.h: No such file or directory
>
> In short matplotlib could not find libpng (or png.h from that). I had
> libpng installed via fink in the usual place /sw/include etc. This
> seems to be a quite natural choice, so I wondered why matplotlib does
> not find that out of the box. Following the tips in the above post I
> looked at basedir in setupext.py For some reason the basedirs for
> darwin where commented out. Uncommenting the basedirs did the trick
> for me [1] and matplotlib happily installed with the libpng from fink.
>
> Hope this will help other mac users. Thanks for the great work on
> matplotlib!

Thanks for reporting finally a working pure-setup.py installation!

But are you sure it really works, because mixing binary-distributed
and self-compiled packages often leads to import refusal, when the
external libraries (as freetype) are compiled with a different
compiler than Python.

Friedrich

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to