Skip to content
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

Upgrade base image to fix issue with get-pip.py #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tanertopal
Copy link

Currently all cubes will break when trying to install pip using get-pip.py. The reason for this is that get-pip.py has dropped compatibility with Python 3.6 (see here) which is default installed version of the python3 package in Ubuntu 18.04. Using the Ubuntu 20.04 base image will resolve this issue.

The error which will otherwise be thrown in the docker build process is:

 => ERROR [3/6] RUN curl -fSsL -O https://bootstrap.pypa.io/get-pip.py &&     python3 get-pip.py &&     rm get-pip.py                                                                            0.8s
------
 > [3/6] RUN curl -fSsL -O https://bootstrap.pypa.io/get-pip.py &&     python3 get-pip.py &&     rm get-pip.py:
#6 0.753 ERROR: This script does not work on Python 3.6 The minimum supported Python version is 3.7. Please use https://bootstrap.pypa.io/pip/3.6/get-pip.py instead.

@github-actions
Copy link

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

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

Successfully merging this pull request may close these issues.

1 participant