Docker Error

madaminovabdulaziz
HOBBY

a year ago

6.102 Collecting aiogram==2.25.2

6.107 Using cached aiogram-2.25.2-py3-none-any.whl (203 kB)

6.145 Collecting aiogram-media-group==0.5.1

6.150 Using cached aiogrammediagroup-0.5.1-py3-none-any.whl (7.5 kB)

6.177 ERROR: Ignored the following versions that require a different python version: 1.2.1 Requires-Python >=3.10; 1.2.2.1 Requires-Python >=3.10; 1.3 Requires-Python >=3.10; 2.0 Requires-Python >=3.10,<4.0; 2.0.1 Requires-Python >=3.10,<4.0

6.177 ERROR: Could not find a version that satisfies the requirement aiogram-translation==2.0.1 (from versions: 1, 1.1, 1.2)

6.178 ERROR: No matching distribution found for aiogram-translation==2.0.1

6.186

6.186 [notice] A new release of pip is available: 23.0.1 -> 24.0

6.186 [notice] To update, run: pip install --upgrade pip

Dockerfile:20

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

19 | COPY . /app/.

20 | >>> RUN --mount=type=cache,id=s/2dc6a98d-a26f-49c4-937c-3f42dd7cfb5a-/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

1 Replies

a year ago

what version of python do you use locally?