Код: Выделить всё
- Installing racplusplus (0.1.1): Failed
RuntimeError
Unable to find installation candidates for racplusplus (0.1.1) at /usr/local/lib/python3.11/site-packages/poetry/installation/chooser.py:74 in choose_for
70│
71│ links.append(link)
72│
73│ if not links:
→ 74│ raise RuntimeError(f"Unable to find installation candidates for {package}")
75│
76│ # Get the best link
77│ chosen = max(links, key=lambda link: self._sort_key(package, link))
78│
Cannot install racplusplus.
Код: Выделить всё
FROM python:3.11.10-slim as build
RUN poetry add racplusplus
Код: Выделить всё
poetry shell
pip install --no-cache-dir -r requirements.txt
docker build -t api_ai:latest .
docker run -it -p 8000:8000 -v .:/app ai-api:latest uvicorn -- reload src.main:app --env-file .env --host 0.0.0.0 --port 8000
Подробнее здесь: https://stackoverflow.com/questions/790 ... acplusplus
Мобильная версия