Fetch older version of get-pip.py for python 2 (#1015)

fixes #1014
This commit is contained in:
lantz
2021-01-26 00:18:54 -08:00
committed by GitHub
parent f9d5ef3461
commit 12f4d5b8ae
+5 -1
View File
@@ -184,7 +184,11 @@ function mn_deps {
# Install pip
$install ${PYPKG}-pip || $install ${PYPKG}-pip-whl
if ! ${PYTHON} -m pip -V; then
wget https://bootstrap.pypa.io/get-pip.py
if [ $PYTHON_VERSION == 2 ]; then
wget https://bootstrap.pypa.io/2.6/get-pip.py
else
wget https://bootstrap.pypa.io/get-pip.py
fi
sudo ${PYTHON} get-pip.py
rm get-pip.py
fi