keithito / tacotron

A TensorFlow implementation of Google's Tacotron speech synthesis with pre-trained model (unofficial)
MIT License
2.95k stars 959 forks source link

Missing dependencies #355

Open HusseinYusufali opened 3 years ago

HusseinYusufali commented 3 years ago

|████████████████████████████████| 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 commented 3 years ago

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

vinamramunot-tech commented 3 years ago

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

poohsen commented 3 years ago

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

Lucien950 commented 3 years ago

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