daswer123 / xtts-api-server

A simple FastAPI Server to run XTTSv2
MIT License
292 stars 67 forks source link

Error during pip install xtts-api-server: error: Microsoft Visual C++ 14.0 or greater is required #60

Open henvu50 opened 4 months ago

henvu50 commented 4 months ago

I got the following error when installing xtts-api-server:

pip install xtts-api-server
..
...
....
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/

Failed to build tts
ERROR: Could not build wheels for tts, which is required to install pyproject.toml-based projects

The only way to resolve it was a 10gb download of Visual Studio C++ and MS Build Tools 2015; selected from the visual studio installer, after you select Visual Studio C++.

Is this normal? Did all of you guys have to install VS C++ and the Build Tools? That was 10gb of software I'd rarely use. I'm not complaining, just wondering if this is normal?

chanis2 commented 4 months ago

I'm on windows using it with wsl. WSL install. However WSL uses more than 10GB 😅