tortoise-tts
tortoise-tts copied to clipboard
ImportError: cannot import name 'deprecated' from 'typing_extensions'
I installed this with pip, but when I try to run python tortoise/do_tts.py --text "I'm going to speak this" --voice random --preset fast
I get
File "/home/user/tortoise-tts/tortoise/do_tts.py", line 7, in
Use python==3.8 my guy
Use python==3.8 my guy
When I do that and then run python3.8 tortoise/do_tts.py --text "I'm going to speak this" --voice random --preset fast
I get
Traceback (most recent call last):
File "tortoise/do_tts.py", line 4, in
Install torch as recommended in the ReadMe
I install it like pip install torch torchaudio --index-url https://download.pytorch.org/whl/rocm5.4.2
, since I have AMD, but even after that I get the same error message.
Ahh man, not sure. I'm kinda new to this as well. I'm using a GT1050Ti - 4GB ram.
Sorry I can't help you further there.
Use python==3.8 my guy
I see May 3rd on posts here but am now wondering if this is from 2023. Python 3.8!?
I install it like pip install torch torchaudio --index-url https://download.pytorch.org/whl/rocm5.4.2, since I have AMD, but even after that I get the same error message.
You are likely using the pip executable for the other version of python that you have installed. There should be a pip
executable in the vicinity of the python3.8
executable (run $ which python3.8
and explore that in file explorer). Use that pip
executable to install torch
and it should work.