Closed Vuizur closed 2 years ago
I had some struggles with pyworld dependency on Windows too. But i found a solution and show how to get it up and running here: https://youtu.be/zRaDe08cUIk?t=743
Maybe this helps you.
My wild-guess tip - try to run:
pip2 install numpy
(sic) and see what happens.
I had this issue. Downgrading from python 3.10 to 3.9 fixed it.
Thank you all for your help, the solution by @disseminate worked flawlessly for me. I thought about the pyworld library, thanks for the video! I think the maintainers removed the dependency in the newest version (at least for synthesis?), so at the end I didn't install it.
Thanks @disseminate. Windows 10, was on Python 3.10, can confirm the issue is solved simply after downgrading to Python 3.9
I've used 64-bit installer from this page https://www.python.org/downloads/release/python-3911/
Is there a better solution than downgrading python?
Anyone?
Nope. I never found a fix other than downgrading python (which isn't a solution) and yet it is considered closed. Normally i'd say its an opensource project and its fine; but this is a product they ask money for so hey....
Describe the bug
On Windows you might get RuntimeError: Numpy is not available on Windows when trying to run a model.
To Reproduce
I installed the project from git using
poetry add git+https://github.com/coqui-ai/TTS
(not from pypi, because the latest version is still buggy on Windows due to the pyworld dependency) , and then executedpoetry shell
to get the command line program. Then I rantts-server --model_name tts_models/es/mai/tacotron2-DDC
.It downloaded the model and I entered two sentences that I wanted to convert to audio, but it failed with an internal server error:
(This is the log of the second run, so it says that the model is already downloaded, but in the first run it properly fetched the 600 MB or so.)
Expected behavior
No response
Logs
No response
Environment
Additional context
No response