Railway Deployment Failed
mpa-mxiang
TRIALOP

2 years ago

#10 34.23 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

#10 ERROR: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1


> [stage-0 6/8] RUN --mount=type=cache,id=s/5ad3e388-327e-45c8-a4c8-b56ab53c06f9-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt:

34.23 matplotlib 3.8.0 depends on numpy<2 and >=1.21

34.23 numba 0.58.0 depends on numpy<1.26 and >=1.21

34.23 ortools 9.7.2996 depends on numpy>=1.13.3

34.23 pandas 2.1.1 depends on numpy>=1.23.2; python_version == "3.11"

34.23

34.23 To fix this you could try to:

34.23 1. loosen the range of package versions you've specified

34.23 2. remove package versions to allow pip attempt to solve the dependency conflict

34.23

34.23 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts


Dockerfile:20


18 | ENV NIXPACKS_PATH /opt/venv/bin:$NIXPACKS_PATH

19 | COPY . /app/.

20 | >>> RUN --mount=type=cache,id=s/5ad3e388-327e-45c8-a4c8-b56ab53c06f9-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt

21 |

22 |


ERROR: failed to solve: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1

Error: Docker build failed

GitHub repo: https://github.com/mpa-mxiang/django-practice/tree/deploy

View Deploy details

> ⓘ Deployment information is only viewable by project members and Railway employees.

1 Replies

2 years ago

From your build logs -

To fix this you could try to:

loosen the range of package versions you've specified

remove package versions to allow pip attempt to solve the dependency conflict

Welcome!

Sign in to your Railway account to join the conversation.

Loading...