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

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

Closed
arkilis opened this issue Jan 4, 2023 · 2 comments
Closed

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

arkilis opened this issue Jan 4, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@arkilis
Copy link

arkilis commented Jan 4, 2023

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

@arkilis arkilis added the bug Something isn't working label Jan 4, 2023
@jinsu35
Copy link

jinsu35 commented Jan 7, 2023

Duplicate issue #2052

@erogol
Copy link
Member

erogol commented Jan 15, 2023

Closing for the duplicate

@erogol erogol closed this as completed Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants