Skip to content

Missing python pip (py3-pip) on AWS & GCP images #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
juan-vg opened this issue Mar 19, 2025 · 1 comment
Open

Missing python pip (py3-pip) on AWS & GCP images #66

juan-vg opened this issue Mar 19, 2025 · 1 comment

Comments

@juan-vg
Copy link

juan-vg commented Mar 19, 2025

While py3-pip is installed for the Azure image, it's missing for AWS and GCP images. While I'm not sure about the need for GCP, to build AWS lambdas based on Python pip is required.

I'm currently studying the possibility to implement my own custom runner image to have more control over other packages, but since the official Azure one has this py3-pip installed, I believe all the images should.

@juan-vg juan-vg changed the title Missing python pip on aws & gcp images Missing python pip (py3-pip) on AWS & GCP images Mar 19, 2025
@lorengordon
Copy link

lorengordon commented Mar 19, 2025

I once upon a time had to figure out how to get pip installed also. I ended up with a before_init hook that runs this:

      - curl -sSL -o /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py
      - python3 -m venv /tmp/venv
      - . /tmp/venv/bin/activate
      - python3 /tmp/get-pip.py
      - pip --version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants