cannot install matplotlib, freetype2 headers are ignored
- by tgraf
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?