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

Installing coqui-tts (0.24.1): Failed #295

Open
sid-newby opened this issue Aug 21, 2024 · 0 comments
Open

Installing coqui-tts (0.24.1): Failed #295

sid-newby opened this issue Aug 21, 2024 · 0 comments

Comments

@sid-newby
Copy link

Describe the bug
Cant seem to install coqui-tts through the prescribed poetry install (fails), nor through the remediation offered 'pip wheel --no-cache-dir --use-pep517 "coqui-tts (==0.24.1)"'

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'directory'
  2. run 'git clone https://github.com/OpenInterpreter/01.git'
  3. cd 01
  4. cd software
  5. poetry install
Package operations: 20 installs, 3 updates, 0 removals
  - Installing coqui-tts (0.24.1): Failed
  ChefBuildError
  Backend subprocess exited when trying to invoke build_wheel) 

more install chatter

TTS/tts/utils/monotonic_align/core.c:768:10: fatal error: 'numpy/arrayobject.h' file not found
  #include "numpy/arrayobject.h"
           ^~~~~~~~~~~~~~~~~~~~~
  1 error generated.
  error: command '/usr/bin/clang' failed with exit code 1
  

  at ~/Library/Application Support/pypoetry/venv/lib/python3.11/site-packages/poetry/installation/chef.py:164 in _prepare
      160│ 
      161│                 error = ChefBuildError("\n\n".join(message_parts))
      162│ 
      163│             if error is not None:
    → 164│                 raise error from None
      165│ 
      166│             return path
      167│ 
      168│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:

Note: This error originates from the build backend, and is likely not a problem with poetry but with coqui-tts (0.24.1) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "coqui-tts (==0.24.1)"'.
  1. run pip wheel --no-cache-dir --use-pep517 "coqui-tts (==0.24.1)

Building wheels for collected packages: coqui-tts, gruut, encodec, spacy, docopt, gruut-ipa, gruut-lang-de, gruut-lang-en, gruut-lang-es, gruut-lang-fr, python-crfsuite
Building wheel for coqui-tts (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for coqui-tts (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [391 lines of output]

more install chattering

TTS/tts/utils/monotonic_align/core.c:768:10: fatal error: 'numpy/arrayobject.h' file not found
#include "numpy/arrayobject.h"
^~~~~~~~~~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for coqui-tts

more chatter

Successfully built gruut encodec spacy docopt gruut-ipa gruut-lang-de gruut-lang-en gruut-lang-es gruut-lang-fr python-crfsuite
Failed to build coqui-tts
ERROR: Failed to build one or more wheels


**Expected behavior**
A happy install of 01. 

**Screenshots**
n/a

**Desktop (please complete the following information):**
 - MacOS 14.6.1 (23G93)
 - Python 3.11.9 (main, Jun 26 2024, 07:48:49) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin

**Additional context**
I want to love you. 
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

1 participant