Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Build Issues #192

Open
Rockyuk opened this issue Sep 21, 2024 · 1 comment
Open

Docker Build Issues #192

Rockyuk opened this issue Sep 21, 2024 · 1 comment

Comments

@Rockyuk
Copy link

Rockyuk commented Sep 21, 2024

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
@Links17
Copy link

Links17 commented Nov 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants