У меня есть этот Dockerfile:
Код: Выделить всё
FROM python:3.9-slim
COPY . /app
WORKDIR /app
RUN pip3 install -r requirements.txt
ENTRYPOINT [ "streamlit","run","main.py","--server.port=8501", "--server.address=0.0.0.0"]
когда я запускаю docker Compose build --no-cache, я получаю эту ошибку:
Код: Выделить всё
18.69 ERROR: Ignored the following versions that require a different python version: 1.3.1 Requires-Python >=3.10
18.69 ERROR: Could not find a version that satisfies the requirement contourpy==1.3.1 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.1.0, c1, 1.1.1, 1.2.0, 1.2.1rc1, 1.2.1, 1.3.0)
18.69 ERROR: No matching distribution found for contourpy==1.3.1
24.04
24.04 [notice] A new release of pip is available: 23.0.1 -> 24.3.1
24.04 [notice] To update, run: pip install --upgrade pip
thnaks
Подробнее здесь: https://stackoverflow.com/questions/792 ... urpy-1-3-1
Мобильная версия