Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cannot install 3.0.0 "python setup.py egg_info" failed (freetype & png) #12169

Closed
@dumbledad

Description

@dumbledad

I cannot install matplotlib.

I am on a Dell Precision 5820 running Windows 10.0.17763

I have tried downloading the source and building locally, using their installers to install freetype and png, restarting the machine, running the command prompt as administrator, running python -mpip install -U matplotlib instead, updating pip, updating setuptools, installing ez_setup, ...

This is the readout I get from pip install matplotlib

Collecting matplotlib
Using cached https://files.pythonhosted.org/packages/ec/06/def4fb2620cbe671ba0cb6462cbd8653fbffa4acd87d6d572659e7c71c13/matplotlib-3.0.0.tar.gz
Complete output from command python setup.py egg_info:
============================================================================
Edit setup.cfg to change the build options

BUILDING MATPLOTLIB
            matplotlib: yes [3.0.0]
                python: yes [3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018,
                        04:06:47) [MSC v.1914 32 bit (Intel)]]
              platform: yes [win32]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [version 1.15.1]
      install_requires: yes [handled by setuptools]
                libagg: yes [pkg-config information for 'libagg' could not
                        be found. Using local copy.]
              freetype: no  [The C/C++ header for freetype
                        (freetype2\ft2build.h) could not be found.  You may
                        need to install the development package.]
                   png: no  [The C/C++ header for png (png.h) could not be
                        found.  You may need to install the development
                        package.]
                 qhull: yes [pkg-config information for 'libqhull' could not
                        be found. Using local copy.]

OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]
                 tests: no  [skipping due to configuration]
        toolkits_tests: no  [skipping due to configuration]

OPTIONAL BACKEND EXTENSIONS
                   agg: yes [installing]
                 tkagg: yes [installing; run-time loading from Python Tcl /
                        Tk]
                macosx: no  [Mac OS-X only]
             windowing: yes [installing]

OPTIONAL PACKAGE DATA
                  dlls: no  [skipping due to configuration]

============================================================================
                        * The following required packages can not be built:
                        * freetype, png
                        * Please check http://gnuwin32.sourceforge.net/packa
                        * ges/freetype.htm for instructions to install
                        * freetype
                        * Please check http://gnuwin32.sourceforge.net/packa
                        * ges/libpng.htm for instructions to install png

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in C:\Users\timregan\AppData\Local\Temp\pip-install-ub5eg6x_\matplotlib\

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions