From 9cda1e5f93a6977d5c8273b63ecc14fa7fbd897d Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Wed, 22 Apr 2020 00:21:07 +0200 Subject: [PATCH] make it possible to run python3 --- static/locate_mirror.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/static/locate_mirror.sh b/static/locate_mirror.sh index 2c535357..2e6f5abb 100644 --- a/static/locate_mirror.sh +++ b/static/locate_mirror.sh @@ -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