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

Missing dependencies #355

Open
HusseinYusufali opened this issue Nov 2, 2020 · 4 comments
Open

Missing dependencies #355

HusseinYusufali opened this issue Nov 2, 2020 · 4 comments

Comments

@HusseinYusufali
Copy link

|████████████████████████████████| 53.9MB 87kB/s
ERROR: Command errored out with exit status 1:
command: /opt/anaconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/44/g40pxdxd0q9_3hktw5c79g280000gn/T/pip-install-ckl_jm0b/matplotlib/setup.py'"'"'; file='"'"'/private/var/folders/44/g40pxdxd0q9_3hktw5c79g280000gn/T/pip-install-ckl_jm0b/matplotlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
cwd: /private/var/folders/44/g40pxdxd0q9_3hktw5c79g280000gn/T/pip-install-ckl_jm0b/matplotlib/
Complete output (64 lines):
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 [2.0.2]
                python: yes [3.7.4 (default, Aug 13 2019, 15:17:50)  [Clang
                        4.0.1 (tags/RELEASE_401/final)]]
              platform: yes [darwin]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [version 1.17.2]
                   six: yes [using six version 1.12.0]
              dateutil: yes [using dateutil version 2.8.0]
           functools32: yes [Not required]
          subprocess32: yes [Not required]
                  pytz: yes [using pytz version 2019.3]
                cycler: yes [using cycler version 0.10.0]
               tornado: yes [using tornado version 6.0.3]
             pyparsing: yes [using pyparsing version 2.4.2]
                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.6.26]
                 qhull: yes [pkg-config information for 'qhull' 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: yes [installing, darwin]
                qt5agg: yes [installing, Qt: 5.9.6, PyQt: 5.9.6]
                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: no  [Microsoft Windows only]

OPTIONAL LATEX DEPENDENCIES
                dvipng: yes [version 1.15]
           ghostscript: yes [version 9.23]
                 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
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

MISSING DEPENDENCY SOMEWHERE WHEN INSTALLING REQUIREMENTS.TXT

@Rav317
Copy link

Rav317 commented Feb 27, 2021

I have the same error occurring. Did you find any solution?

@vinamramunot-tech
Copy link

Just checking but this repo only works with python3.7.

@HusseinYusufali HusseinYusufali changed the title Missing depencies Missing dependencies Mar 2, 2021
@poohsen
Copy link

poohsen commented Apr 5, 2021

under debian 9 this went away for me after installing libfreetype6-dev

@Lucien950
Copy link

Lucien950 commented Jul 1, 2021

I got something similar but with both "freetype" and "png"

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

5 participants