pip3 install matplotlibCollectingmatplotlibUsingcached matplotlib-1.4.3.tar.gzCompleteoutputfromcommand python setup.py egg_info:IMPORTANT WARNING:pkg-configisnotinstalled.matplotlib maynotbe able to find some of its dependencies============================================================================Editsetup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib:yes[1.4.3]python:yes[3.5.0(v3.5.0:374f501f4567,Sep122015,11:00:19)[GCC4.2.1(AppleInc.build5666)(dot3)]]platform:yes[darwin]REQUIRED DEPENDENCIES AND EXTENSIONS
numpy:yes[version1.9.2]six:yes[using six version1.9.0]dateutil:yes[using dateutil version2.4.2]pytz:yes[using pytz version2015.4]tornado:yes[tornado wasnotfound.ItisrequiredfortheWebAggbackend.pip/easy_install may attempt to
install it after matplotlib.]pyparsing:yes[pyparsing wasnotfound.Itisrequiredformathtext support.pip/easy_install may attempt to
install it after matplotlib.]pycxx:yes[Officialversions ofPyCXXarenotcompatiblewithmatplotlib onPython3.x,since they lack
supportforthe buffer object.Usinglocal copy]libagg:yes[pkg-config informationfor'libagg'couldnotbe found.Usinglocal copy.]freetype:no[TheC/C++headerforfreetype2(ft2build.h)couldnotbe found.Youmay need to install the
development package.]png:yes[version1.6.18]qhull:yes[pkg-config informationfor'qhull'couldnotbe
found.Usinglocal copy.]OPTIONAL SUBPACKAGES
sample_data:yes[installing]toolkits:yes[installing]tests:yes[using nose version1.3.7/using unittest.mock]toolkits_tests:yes[using nose version1.3.7/using unittest.mock]OPTIONAL BACKEND EXTENSIONS
macosx:yes[installing,darwin]qt5agg:no[PyQt5notfound]qt4agg:no[PyQt4notfound]pyside:no[PySidenotfound]gtk3agg:no[Requirespygobject to be installed.]gtk3cairo:no[Requirescairocffiorpycairo to be installed.]gtkagg:no[Requirespygtk]tkagg:yes[installing,version versionnotidentified]wxagg:no[requires wxPython]gtk:no[Requirespygtk]agg:yes[installing]cairo:no[cairocffiorpycaironotfound]windowing:no[MicrosoftWindowsonly]OPTIONAL LATEX DEPENDENCIES
dvipng:yes[version1.15]ghostscript:yes[version9.16]latex:yes[version3.14159265]pdftops:no============================================================================*Thefollowing required packages cannotbe built:*freetype----------------------------------------