Skip to content

Numpy Version Incompatability #773

Open

Description

@hankp46

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions