[Matplotlib-users] Installing matplotlib dev version on ubuntu from source file

Eric Firing efiring at hawaii.edu
Sat Nov 7 00:41:03 EST 2015


On 2015/11/04 4:05 AM, Imran Ali wrote:
> /              freetype: no  [The C/C++ header for freetype2 (ft2build.h)/
> /                        could not be found.  You may need to install the/
> /                        development package.]/
> /                   png: no  [pkg-config information for 'libpng' could not/
> /                        be found.]/

It looks like you need to install two development packages using your 
linux distro package manager.  If you are using ubuntu 14.04, for 
example, it would be

sudo apt-get install libfreetype6-dev libpng12-dev

Eric


More information about the Matplotlib-users mailing list