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()