MeloTTS icon indicating copy to clipboard operation
MeloTTS copied to clipboard

Docker Build Issues

Open Rockyuk opened this issue 1 year ago • 2 comments

I am trying for hours now to build via docker and getting the following issues if someone can help please?

26.18 INFO: pip is looking at multiple versions of transformers to determine which version is compatible with other requirements. This could take a while.
26.32 ERROR: Cannot install melotts and transformers==4.27.4 because these package versions have conflicting dependencies.
26.32
26.32 The conflict is caused by:
26.32     cached-path 1.1.3 depends on huggingface-hub<0.8.0 and >=0.0.12
26.32     transformers 4.27.4 depends on huggingface-hub<1.0 and >=0.11.0
26.32
26.32 To fix this you could try to:
26.32 1. loosen the range of package versions you've specified
26.32 2. remove package versions to allow pip to attempt to solve the dependency conflict
26.32
26.33 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
------
Dockerfile:21
--------------------
  19 |
  20 |     # Install the remaining Python dependencies for the project
  21 | >>> RUN pip install -e .
  22 |
  23 |     # Run the initial download scripts (specific to MeloTTS)
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install -e ." did not complete successfully: exit code: 1

Rockyuk avatar Sep 21 '24 18:09 Rockyuk

You can try using pip install -e . to find out that it is killed. In fact, it is caused by insufficient memory. You can build it with a machine with larger memory.

Links17 avatar Nov 07 '24 03:11 Links17

You can try using pip install -e . to find out that it is killed. In fact, it is caused by insufficient memory. You can build it with a machine with larger memory.

Hey, Do you know please how to lunch it on Docker but in English not Chinese

eliteexod avatar Nov 19 '24 17:11 eliteexod