diff --git a/imagefiles/install-python-packages.sh b/imagefiles/install-python-packages.sh index 2c7b3e0..597d580 100755 --- a/imagefiles/install-python-packages.sh +++ b/imagefiles/install-python-packages.sh @@ -20,10 +20,9 @@ done cd /tmp -# Todo: Need to update base image from Debian Stretch for the required Python -# 3.6 or later curl -# -LO https://bootstrap.pypa.io/pip/get-pip.py -#curl -# -LO https://bootstrap.pypa.io/pip/2.7/get-pip.py +# https://github.com/pypa/setuptools/issues/2993 +export SETUPTOOLS_USE_DISTUTILS=stdlib ${PYTHON} get-pip.py --ignore-installed rm get-pip.py