KoljaB / RealtimeTTS

Converts text to speech in realtime
1.8k stars 162 forks source link

Do I Need To Install Nvidia CUDA To Solve This error: Microsoft Visual C++ 14.0 or greater is required" #135

Open SRafi007 opened 1 week ago

SRafi007 commented 1 week ago

Error: "error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [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: ERROR: Failed to build installable wheels for some pyproject.toml based projects (TTS)"

Screenshot 2024-09-23 200204

I Was looking for the solution almost all over the internet, mostly i saw This common answer " install a c++ build tools package from visual studio installer ", But in a youtube video a creator installed Nvidia cuda as a requirements. Look, I'm trying to be cautious installing these packages maybe because i don't have much knowledge about these tools, If you Have any experience .....Please Share

KoljaB commented 1 week ago

"error: Microsoft Visual C++ 14.0 or greater is required"

Did not experience this so far, so sadly can't really help here. It's coqui tts related and out of scope of this library. Which python version are you running on? I'd definitely recommend to install CUDA because otherwise you can't use the GPU for a lot of models. Can't tell if it solves the error. I'd just install the build tools, I guess.

SRafi007 commented 1 week ago

@KoljaB I was finally able to create my Coqui tts project after downloading and installing Microsoft build tools and espeak-ng. Now struggling with fine-tuning and personalizing the model. I hope I learn that soon. Thanks

KoljaB commented 1 week ago

Some thoughts on XTTS finetuning: