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

building a docker image of a worker => ERROR [build_final_image 12/17] :( #39

Open
jayjake0 opened this issue Sep 9, 2024 · 2 comments

Comments

@jayjake0
Copy link

jayjake0 commented Sep 9, 2024

Hi :) I tried to use your worker and build it with Docker. Unfortunately there are some dependencies issues. Script failed on:

=> ERROR [build_final_image 12/17] RUN --mount=type=cache,target=/root/.cache/pip pip install --upgrade pip && pip install --upgrade -r /requirements.txt --no-cache-dir && rm /requirements.txt 37.8s

with an ERROR:

37.11 Requested torchsde==0.2.5 from https://files.pythonhosted.org/packages/73/8d/efd3e7b31ea854d0bd6886aa3cf44914adce113a6d460850af41ac1dd4dd/torchsde-0.2.5-py3-none-any.whl (from -r /requirements.txt (line 25)) has invalid metadata: .* suffix can only be used with `==` or `!=` operators
37.11     numpy (>=1.19.*) ; python_version >= "3.7"
37.11            ~~~~~~~^
37.11 Please use pip<24.1 if you need to use this version.
37.11 ERROR: Could not find a version that satisfies the requirement torchsde==0.2.5 (from versions: 0.2.5, 0.2.6)
37.30 ERROR: No matching distribution found for torchsde==0.2.5
------

 2 warnings found (use docker --debug to expand):
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 4)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 32)
Dockerfile:69
--------------------
  68 |     COPY builder/requirements.txt /requirements.txt
  69 | >>> RUN --mount=type=cache,target=/root/.cache/pip \
  70 | >>>     pip install --upgrade pip && \
  71 | >>>     pip install --upgrade -r /requirements.txt --no-cache-dir && \
  72 | >>>     rm /requirements.txt
  73 |     
--------------------
ERROR: failed to solve: process "/bin/bash -o pipefail -c pip install --upgrade pip &&     pip install --upgrade -r /requirements.txt --no-cache-dir &&     rm /requirements.txt" did not complete successfully: exit code: 1

Any idea how to approach fixing it?

Thank you for any suggestions :)

@danielba777
Copy link

Same issue... Could you resolve it?

@athos54
Copy link

athos54 commented Oct 11, 2024

same issue

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

3 participants