Page 1 of 1

Fehler in der PIP -Installation PYPIWIN32 in DockerFile

Posted: 25 Jan 2025, 16:05
by Guest
Ich versuche, Python -Module in Docker hinzuzufügen. Meine Dockerfile sieht aus wie: < /p>

Code: Select all

FROM python:3.9
ADD ./src ./src

# ADD main.py .
RUN  pip install --upgrade pip
RUN pip install pyyaml
RUN pip install coloredlogs
RUN pip install pypiwin32
# RUN python -m pip install --upgrade pywin32
WORKDIR ./src
CMD ["python", "./main.py"]
Beim Erstellen des Images erhalte ich folgende Fehlermeldung:
Image

Ich habe auch RUN pip install pywin32 ausprobiert, aber auch das hat nicht funktioniert. Danke.