From a8b28744a62561897d032ba803b236f45ee2b505 Mon Sep 17 00:00:00 2001 From: yuvipanda Date: Sun, 19 May 2019 20:36:55 -0700 Subject: [PATCH] bootstrap: Explicitly mark python3-pip as installed We need it to work, so we mark it as an explicit dependency. --- bootstrap/bootstrap.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bootstrap/bootstrap.py b/bootstrap/bootstrap.py index 03336e0..629d8cc 100644 --- a/bootstrap/bootstrap.py +++ b/bootstrap/bootstrap.py @@ -74,8 +74,14 @@ def main(): subprocess.check_output(['apt-get', 'update', '--yes'], stderr=subprocess.STDOUT) subprocess.check_output(['apt-get', 'install', '--yes', 'software-properties-common'], stderr=subprocess.STDOUT) subprocess.check_output(['add-apt-repository', 'universe'], stderr=subprocess.STDOUT) + subprocess.check_output(['apt-get', 'update', '--yes'], stderr=subprocess.STDOUT) - subprocess.check_output(['apt-get', 'install', '--yes', 'python3', 'python3-venv', 'git'], stderr=subprocess.STDOUT) + subprocess.check_output(['apt-get', 'install', '--yes', + 'git', + 'python3', + 'python3-venv', + 'python3-pip' + ], stderr=subprocess.STDOUT) logger.info('Installed python & virtual environment') os.makedirs(hub_prefix, exist_ok=True) subprocess.check_output(['python3', '-m', 'venv', hub_prefix], stderr=subprocess.STDOUT)