Fix for pip invocation when setting up virtual environment during build

This commit is contained in:
Matthew Young 2018-06-06 12:51:43 -05:00
parent a07c718895
commit 9b90668915

View file

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