make it possible to run python3

This commit is contained in:
Daniel Hansson 2020-04-22 00:21:07 +02:00 committed by GitHub
parent 67ca7cf8b4
commit 9cda1e5f93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,8 +37,10 @@ else
fi
print_text_in_color "$ICyan" "Locating the best mirrors..."
curl_to_dir https://bootstrap.pypa.io get-pip.py /tmp
install_if_not python2
cd /tmp && python2 get-pip.py
install_if_not python3
install_if_not python3-testresources
install_if_not python3-distutils
cd /tmp && python3 get-pip.py
pip install \
--upgrade pip \
apt-select