`Sudo pip install matplotlib` fails to find freetype headers. [OS X Mavericks / 10.9] [closed] `Sudo pip install matplotlib` fails to find freetype headers. [OS X Mavericks / 10.9] [closed] python python

`Sudo pip install matplotlib` fails to find freetype headers. [OS X Mavericks / 10.9] [closed]


I had the same problem, and finally found the solution by checking the compilation commands. It's really simple:

ln -s /usr/local/opt/freetype/include/freetype2 /usr/local/include/freetype