From 9b906689156cf9ab9ba837f3ad04dbbba1cc1e28 Mon Sep 17 00:00:00 2001 From: Matthew Young Date: Wed, 6 Jun 2018 12:51:43 -0500 Subject: [PATCH] Fix for pip invocation when setting up virtual environment during build --- python/mach_bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/mach_bootstrap.py b/python/mach_bootstrap.py index dfc52d4b1dc..7b32c8c69c0 100644 --- a/python/mach_bootstrap.py +++ b/python/mach_bootstrap.py @@ -221,7 +221,7 @@ def _activate_virtualenv(topdir, is_firefox): if not pip: sys.exit("Python pip is either not installed or not found in virtualenv.") - _process_exec([pip, "install", "-I", "-r", req_path]) + _process_exec([python, "-m", "pip", "install", "-I", "-r", req_path]) open(marker_path, 'w').close()