cannot install matplotlib, freetype2 headers are ignored

Posted by tgraf on Super User See other posts from Super User or by tgraf
Published on 2012-07-08T15:13:01Z Indexed on 2012/07/08 15:18 UTC
Read the original article Hit count: 303

Filed under:
|
|
|

I want to install matplotlib via pip. There is a problem with freetype2.h

REQUIRED DEPENDENCIES

             numpy: 1.6.2

         freetype2: found, but unknown version (no pkg-config)

                    * WARNING: Could not find 'freetype2' headers in any

                    * of '.', './freetype2'.

Somebody had a similar problem ( How to install matplotlib on OS X?), and it was suggested to install pkg-config first. I did that with macports, but I still get the same warning.

I used find to look for the headers, and they are definitely present in:

/opt/X11/include/ft2build.h
/usr/X11/include/ft2build.h

How can I use those files to install matplotlib?

© Super User or respective owner

Related posts about installation

Related posts about python