[Matplotlib-users] [MAC OSX 10.10.5] upgrade from 1.3.1 to 1.5.0 Fail

Thomas Caswell tcaswell at gmail.com
Thu Nov 5 08:03:45 EST 2015


It is odd that you are getting the tarball not the osx wheels.

You need to install both pkg-config and the development version of freetype.

Tom

On Thu, Nov 5, 2015, 07:53 petertso <ptso at nestlabs.com> wrote:

> Hi all,
>
> I met this failure but I didn't know how to fix it.
> My original matplotlib version is 1.3.1.
> Could anyone please teach me how to fix it?
>
> Thanks
> Peter
>
> petertso-macbookpro:scripts petertso$ pip install matplotlib --upgrade
> Collecting matplotlib
>   Using cached matplotlib-1.5.0.tar.gz
>     Complete output from command python setup.py egg_info:
>     IMPORTANT WARNING:
>         pkg-config is not installed.
>         matplotlib may not be able to find some of its dependencies
>
>
> ============================================================================
>     Edit setup.cfg to change the build options
>
>     BUILDING MATPLOTLIB
>                 matplotlib: yes [1.5.0]
>                     python: yes [2.7.7 |Anaconda 2.0.1 (x86_64)| (default,
> Jun
>                             2 2014, 12:48:16)  [GCC 4.0.1 (Apple Inc. build
>                             5493)]]
>                   platform: yes [darwin]
>
>     REQUIRED DEPENDENCIES AND EXTENSIONS
>                      numpy: yes [version 1.8.1]
>                   dateutil: yes [using dateutil version 1.5]
>                       pytz: yes [using pytz version 2014.3]
>                     cycler: yes [cycler was not found. pip will attempt to
>                             install it after matplotlib.]
>                    tornado: yes [using tornado version 3.2.1]
>                  pyparsing: yes [using pyparsing version 2.0.1]
>                     libagg: yes [pkg-config information for 'libagg' could
> not
>                             be found. Using local copy.]
>                   freetype: no  [The C/C++ header for freetype2
> (ft2build.h)
>                             could not be found.  You may need to install
> the
>                             development package.]
>                        png: yes [version 1.5.13]
>                      qhull: yes [pkg-config information for 'qhull' could
> not be
>                             found. Using local copy.]
>
>     OPTIONAL SUBPACKAGES
>                sample_data: yes [installing]
>                   toolkits: yes [installing]
>                      tests: yes [using nose version 1.3.3 / using mock
> 1.0.1]
>             toolkits_tests: yes [using nose version 1.3.3 / using mock
> 1.0.1]
>
>     OPTIONAL BACKEND EXTENSIONS
>                     macosx: yes [installing, darwin]
>                     qt5agg: no  [PyQt5 not found]
>                     qt4agg: yes [installing, Qt: 4.8.6, PyQt: 4.8.6; PySide
> not
>                             found]
>                    gtk3agg: no  [Requires pygobject to be installed.]
>                  gtk3cairo: no  [Requires cairocffi or pycairo to be
> installed.]
>                     gtkagg: no  [Requires pygtk]
>                      tkagg: no  [The C/C++ header for Tk (tk.h) could not
> be
>                             found.  You may need to install the development
>                             package.]
>                      wxagg: no  [requires wxPython]
>                        gtk: no  [Requires pygtk]
>                        agg: yes [installing]
>                      cairo: no  [cairocffi or pycairo not found]
>                  windowing: no  [Microsoft Windows only]
>
>     OPTIONAL LATEX DEPENDENCIES
>                     dvipng: yes [version 1.14]
>                ghostscript: yes [version 9.10]
>                      latex: yes [version 3.14159265]
>                    pdftops: no
>
>     OPTIONAL PACKAGE DATA
>                       dlls: no  [skipping due to configuration]
>
>
>
> ============================================================================
>                             * The following required packages can not be
> built:
>                             * freetype
>
>     ----------------------------------------
> *Command "python setup.py egg_info" failed with error code 1 in
>
> /private/var/folders/00/1t1jr000h01000cxqpysvccm007867/T/pip-build-6pnLIL/matplotlib*
> petertso-macbookpro:scripts petertso$
>
>
>
> --
> View this message in context:
> http://matplotlib.1069221.n5.nabble.com/MAC-OSX-10-10-5-upgrade-from-1-3-1-to-1-5-0-Fail-tp46390.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20151105/6ad7e02f/attachment.html>


More information about the Matplotlib-users mailing list