Skip to content

question: how to install pip packages with this minimal image? #47

Description

@rtsui-harmonicinc

I tried using the following, it shows that pip is unavailable

 > [linux/arm64 3/5] RUN ["python3", "-m", "pip", "install", "--no-cache-dir", "-r", "requirements.txt"]:
0.067 /usr/bin/python3: No module named pip
------
Error: unknown: "failed to solve: process "python3 -m pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1"

Image used: docker.io/ubuntu/python:3.10-22.04_stable

thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions