neonbjb / tortoise-tts

A multi-voice TTS system trained with an emphasis on quality
Apache License 2.0
12.35k stars 1.73k forks source link

Cannot install via Docker #796

Open blackcatstudiosdevelopment opened 2 weeks ago

blackcatstudiosdevelopment commented 2 weeks ago

When creating the Docker container the install fails on the following step with the after-follow error:

ERROR: failed to solve: process "/bin/bash --login -c conda create --name tortoise python=3.9 numba inflect     && conda activate tortoise     && conda install pytorch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 pytorch-cuda=12.1 -c pytorch -c nvidia     && conda install transformers=4.31.0     && cd /app     && python setup.py install" did not complete successfully: exit code: 1
Installed /root/miniconda/envs/tortoise/lib/python3.9/site-packages/librosa-0.10.2.post1-py3.9.egg
Searching for scipy
Reading https://pypi.org/simple/scipy/
Downloading https://files.pythonhosted.org/packages/50/91/62f158448035e9a6e6df9eb472307e5ce207d30e99eac6dc7bebefd83a48/scipy-1.14.0rc2.tar.gz#sha256=67a0ebbf3c2ac35468af89d3da3b9ffecff1f265f854bdfe836a5ded139f73b1
Best match: scipy 1.14.0rc2
Processing scipy-1.14.0rc2.tar.gz
error: Couldn't find a setup script in /tmp/easy_install-068u5bj3/scipy-1.14.0rc2.tar.gz
blackcatstudiosdevelopment commented 2 weeks ago

Correction: tortoise-tts cannot be installed at all right now, same error as above without Docker.

Xeraster commented 3 days ago

I'm having the same error. I tried manually acquiring and copying that file to every folder in tmp as it gets created but that didn't work.

mikejgrecojr commented 3 days ago

Try updating your Dockerfile by adding in scipy to the conda install and specifying version 1.13.1 on line 31 like below. That worked for me:

&& conda install pytorch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 pytorch-cuda=12.1 scipy=1.13.1 -c pytorch -c