KoljaB / RealtimeTTS

Converts text to speech in realtime
1.39k stars 119 forks source link

install fails at RealtimeTTS #74

Open ricardo-eth opened 2 months ago

ricardo-eth commented 2 months ago

Hi !

install fails at RealtimeTTS on mac:

clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/miniconda3/envs/sts/include -fPIC -O2 -isystem /opt/miniconda3/envs/sts/include "-I<PATH FROM STEP 3>/include/" -I/opt/miniconda3/envs/sts/include/python3.10 -c TTS/tts/utils/monotonic_align/core.c -o build/temp.macosx-10.9-x86_64-cpython-310/TTS/tts/utils/monotonic_align/core.o TTS/tts/utils/monotonic_align/core.c:765: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 TTS Failed to build TTS ERROR: Could not build wheels for TTS, which is required to install pyproject.toml-based projects

KoljaB commented 2 months ago

Looks like Coqui TTS install fails, that would be out of scope for this lib. Please try "pip install tts". If that fails pls lookup or report the error in Coqui TTS github.

Tomckt commented 2 months ago

same problem