8 months 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 NIXPACKSPATH /opt/venv/bin:$NIXPACKSPATH
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
> ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
8 months 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