Skip to content

Installing coqui-tts (0.24.1): Failed #295

Open
@sid-newby

Description

@sid-newby

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. 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions