Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.