coqui-ai / TTS

🐸💬 - a deep learning toolkit for Text-to-Speech, battle-tested in research and production
http://coqui.ai
Mozilla Public License 2.0
34.28k stars 4.15k forks source link

[Bug] error: subprocess-exited-with-error #2263

Closed arkilis closed 1 year ago

arkilis commented 1 year ago

Describe the bug

Tried to run pip install TTS error: subprocess-exited-with-error

Tried: python3.9 python3.10 on Mac, neither is working.

To Reproduce

pip install TTS

Expected behavior

expected to install with pip

Logs

DEPRECATION: unidic-lite is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for unidic-lite ... done
  DEPRECATION: python-crfsuite is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for python-crfsuite ... done
  DEPRECATION: mecab-python3 is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for mecab-python3 ... error
  error: subprocess-exited-with-error

  × Running setup.py install for mecab-python3 did not run successfully.
  │ exit code: 1
  ╰─> [18 lines of output]
      /Users/ben/Developer/other_dev/text to voice/TTS_frog/TTS_frog/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
        warnings.warn(
      WARNING: The wheel package is not available.
      WARNING: The wheel package is not available.
      WARNING: The wheel package is not available.
      WARNING: The wheel package is not available.
      running install
      /Users/ben/Developer/other_dev/text to voice/TTS_frog/TTS_frog/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      creating build
      creating build/lib.macosx-12-arm64-cpython-310
      creating build/lib.macosx-12-arm64-cpython-310/MeCab
      copying src/MeCab/__init__.py -> build/lib.macosx-12-arm64-cpython-310/MeCab
      copying src/MeCab/cli.py -> build/lib.macosx-12-arm64-cpython-310/MeCab
      running build_ext
      error: [Errno 2] No such file or directory: 'mecab-config'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> mecab-python3

Environment

TTS version: 1.3.0
PyTorch: 1.8

Additional context

No response

jinsu35 commented 1 year ago

Duplicate issue #2052

erogol commented 1 year ago

Closing for the duplicate