Numpy Version Incompatability
hankp46 opened this issue · 0 comments
hankp46 commented
Trying to run a simple version of TTS
`from TTS.api import TTS
tts = TTS(model_name="tts_models/en/ljspeech/vits", progress_bar=False, gpu=False)
tts.tts_to_file(text="my name is hank.", file_path='/home/hank/DYIRobot/ttstest1.wav')
Receive following message:
home/hank/.local/lib/python3.9/site-packages/torchaudio/compliance/kaldi.py:22: UserWarning: Failed to initialize NumPy: module compiled against API version 0x10 but this version of numpy is 0xf
researching this it seems that Kaldi.py is using Numpy 1.23 while TTS is using Numpy 1.22
I think Kaldi.py is part of TorchAudio so I tried to downgrade this to TorchAudio 0.13.
This caused more problems.
Trying to find a solution or workaround