MeloTTS icon indicating copy to clipboard operation
MeloTTS copied to clipboard

Docker installation taking forever

Open The-Girulas opened this issue 1 year ago • 6 comments

Hello, I'm trying to install melo via dock like it's said in the installation for windows but it's taking sooooooooooo long, I let it all night long but still, I tried multiple times here is a screen if anyone have an idea ?

Thanks a lot !

image

The-Girulas avatar Jan 02 '25 18:01 The-Girulas

Yeah, i'm running into this same thing. It's installing every version of boto3 and botocore ever ?

EDIT: fixed once you update your requirements.txt to:

txtsplit
torch
torchaudio
botocore>=1.34.98
cached_path>=1.6.2
transformers==4.27.4
num2words==0.5.12
unidic_lite==1.0.8
unidic==1.1.0
mecab-python3==1.0.9
pykakasi==2.2.1
fugashi==1.3.0
g2p_en==2.1.0
anyascii==0.3.2
jamo==0.4.1
gruut[de,es,fr]==2.2.3
g2pkk>=0.1.1
librosa==0.9.1
pydub==0.25.1
eng_to_ipa==0.0.2
inflect==7.0.0
unidecode==1.3.7
pypinyin==0.50.0
cn2an==0.5.22
jieba==0.42.1
gradio
langid==1.1.6
tqdm
tensorboard==2.16.2
loguru==0.7.2

RobertAgee avatar Jan 03 '25 21:01 RobertAgee

txtsplit
torch
botocore>=1.34.98
cached_path>=1.6.2
transformers>=4.42.0
num2words==0.5.12
unidic_lite==1.0.8
unidic==1.1.0
mecab-python3==1.0.9
networkx>=2.5.0
pykakasi==2.2.1
fugashi==1.3.0
g2p_en==2.1.0
anyascii==0.3.2
jamo==0.4.1
gruut[de,es,fr]==2.4.0
g2pkk>=0.1.1
librosa==0.9.1
pydub==0.25.1
eng_to_ipa==0.0.2
inflect==7.0.0
unidecode==1.3.7
pypinyin==0.50.0
cn2an==0.5.22
jieba==0.42.1
gradio>=4.29.0
langid==1.1.6
tqdm
tensorboard==2.16.2
loguru==0.7.2

ronger-x avatar Jan 16 '25 01:01 ronger-x

Yeah, i'm running into this same thing. It's installing every version of boto3 and botocore ever ?

EDIT: fixed once you update your requirements.txt to:

txtsplit
torch
torchaudio
botocore>=1.34.98
cached_path>=1.6.2
transformers==4.27.4
num2words==0.5.12
unidic_lite==1.0.8
unidic==1.1.0
mecab-python3==1.0.9
pykakasi==2.2.1
fugashi==1.3.0
g2p_en==2.1.0
anyascii==0.3.2
jamo==0.4.1
gruut[de,es,fr]==2.2.3
g2pkk>=0.1.1
librosa==0.9.1
pydub==0.25.1
eng_to_ipa==0.0.2
inflect==7.0.0
unidecode==1.3.7
pypinyin==0.50.0
cn2an==0.5.22
jieba==0.42.1
gradio
langid==1.1.6
tqdm
tensorboard==2.16.2
loguru==0.7.2

I tried this, and then Docker filled up my entire C drive...

KilYep avatar Jul 30 '25 04:07 KilYep

Same problem here. My env:

  • Apple M4 Pro
  • macOS Sequoia 15.5

Steps:

git clone https://github.com/myshell-ai/MeloTTS.git
cd MeloTTS
docker build -t melotts . # It takes continuous building

silvioprog avatar Aug 05 '25 04:08 silvioprog

Somewhere in requirements.txt or MeloTTS dependency, the boto3 version range is twisted. If it's below pip 21.x, this seems to happen due to weak dependency collision detection.

I solved it by adding the command to update the pip first in Dockerfile.

...
RUN pip install --upgrade pip setuptools wheel
...

NINE-J avatar Aug 25 '25 02:08 NINE-J

yeah, felt like this thing downloads the whole internet

kintarowins avatar Oct 28 '25 18:10 kintarowins