Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Command "python setup.py egg_info" failed with error code 1 #31

Open
ilkot opened this issue Nov 14, 2019 · 1 comment
Open

ERROR: Command "python setup.py egg_info" failed with error code 1 #31

ilkot opened this issue Nov 14, 2019 · 1 comment

Comments

@ilkot
Copy link

ilkot commented Nov 14, 2019

I tried to install it via pypi but I got below error;
I use windows10 and python 3.7

(base) C:\Users\ilke.topak>pip install feature-selector
Collecting feature-selector
Using cached https://files.pythonhosted.org/packages/7c/d2/5448f8af6d3507f3c455429744c6436fdf3b91d10c75f4857d8e8bb4da1c/feature_selector-1.0.0-py3-none-any.whl
Collecting lightgbm==2.1.1 (from feature-selector)
Using cached https://files.pythonhosted.org/packages/7f/3d/a86e97071a36e5e346716c7fe4197c01a42156eeb688b22a824ac4d88c14/lightgbm-2.1.1-py2.py3-none-win_amd64.whl
Collecting matplotlib==2.1.2 (from feature-selector)
Using cached https://files.pythonhosted.org/packages/6d/bd/3e8cec37bcf71cfd81fe798cf733c046b1ceb123e7dddf6d3435cf03b506/matplotlib-2.1.2.tar.gz
ERROR: Complete output from command python setup.py egg_info:
ERROR: ============================================================================
Edit setup.cfg to change the build options

BUILDING MATPLOTLIB
            matplotlib: yes [2.1.2]
                python: yes [3.7.3 (default, Apr 24 2019, 15:29:51) [MSC
                        v.1915 64 bit (AMD64)]]
              platform: yes [win32]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [version 1.16.4]
                   six: yes [using six version 1.12.0]
              dateutil: yes [using dateutil version 2.8.0]
backports.functools_lru_cache: yes [Not required]
          subprocess32: yes [Not required]
                  pytz: yes [using pytz version 2019.1]
                cycler: yes [using cycler version 0.10.0]
               tornado: yes [using tornado version 6.0.3]
             pyparsing: yes [using pyparsing version 2.4.0]
                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
                macosx: no  [Mac OS-X only]
                qt5agg: yes [installing, Qt: 5.9.6, PyQt: 5.9.6; PySide2 not
                        found]
                qt4agg: no  [PySide not found; PyQt4 not found]
               gtk3agg: no  [Requires pygobject to be installed.]
             gtk3cairo: no  [Requires cairocffi or pycairo to be installed.]
                gtkagg: no  [Requires pygtk]
                 tkagg: yes [installing; run-time loading from Python Tcl /
                        Tk]
                 wxagg: no  [requires wxPython]
                   gtk: no  [Requires pygtk]
                   agg: yes [installing]
                 cairo: no  [cairocffi or pycairo not found]
             windowing: yes [installing]

OPTIONAL LATEX DEPENDENCIES
                dvipng: no
           ghostscript: no
                 latex: no
               pdftops: no

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

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

ERROR: Command "python setup.py egg_info" failed with error code 1 in C:\Users\ILKE~1.TOP\AppData\Local\Temp\pip-install-v357p4jw\matplotlib\

@markcheno
Copy link

Switching to python 3.6 fixed the above error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants