Skip to content

Error: PythonPipBuilder:ResolveDependencies - pip executable not found in your python environment at /usr/bin/python3.7Docs feedback: Write your title

Summary

It seems like pip is not included in the image: python:latest.

Steps to reproduce

  1. Create a .gitlab-ci.yml file with the purposed example on this page.
  2. Push a change to gitlab.

What is the current bug behavior?

CI fails with

Error: PythonPipBuilder:ResolveDependencies - pip executable not found in your python environment at /usr/bin/python3.7Docs feedback: Write your title

What is the expected correct behavior?

CI should at least get past the PIP install.

Possible fixes

add the following.

- apt-get update
- apt-get install -y python3-pip