Torch issue after updating #22
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I haven't been able to run any version since updating - my best guess is an issue with Torch, because that continues to throw errors, as below. I have attempted numerous times to delete, reinstall python, torch, or tortoise, to no effect.
.\tortoise-venv\Scripts\activate.bat
Requirement already satisfied: pip in c:\miniconda3\tortoise-tts\tortoise-venv\lib\site-packages (23.0)
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu116
ERROR: Could not find a version that satisfies the requirement torch (from versions: none)
ERROR: No matching distribution found for torch
Requirement already satisfied: tqdm in c:\miniconda3\tortoise-tts\tortoise-venv\lib\site-packages\tqdm-4.64.1-py3.11.egg (from -r ./requirements.txt (line 1)) (4.64.1)
Use Python3.9.
Re-installed.. this is the hangup now:
(base) C:\Users\miniconda3\tortoise-tts>start.bat
(base) C:\Users\miniconda3\tortoise-tts>call .\tortoise-venv\Scripts\activate.bat
C:\Users\miniconda3\tortoise-tts\tortoise-venv\lib\site-packages\torchaudio_internal\module_utils.py:99: UserWarning: Failed to import soundfile. 'soundfile' backend is not available.
warnings.warn("Failed to import soundfile. 'soundfile' backend is not available.")
Traceback (most recent call last):
File "C:\Users\miniconda3\tortoise-tts\main.py", line 1, in
import webui as mrq
File "C:\Users\miniconda3\tortoise-tts\webui.py", line 11, in
import music_tag
ModuleNotFoundError: No module named 'music_tag'
(base) C:\Users\miniconda3\tortoise-tts>
Try this then: https://stackoverflow.com/a/68976159.
Aside from that, the only things I can suggest is to explicitly use the python download in my README, and not miniconda.
Thank you!
Anyone else who gets this error;
Uninstall any other Python program, reboot, run the installation per the rentry
No idea why this had me running in circles as long as it did
No worries.
I didn't think to stress it hard enough in the README/rentry, since when I was suggesting using conda to setup for ease of use, I didn't seem to stumble upon any problems with it using python3.10 (or was it 3.11), somehow.
The influx of "this problem is fixed by using vanilla 3.9" leaves me no choice but try and emphasize to use python3.9 under Windows. Updated the README/rentry to (hopefully) stress it enough without being an angry autist over it.
Yep, I think I was running into problems because I also run Stable Diffusion (via the AutoInstaller) which also uses Torch, and downloads Python 3.10