summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--evergreen/functions/venv_setup.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/evergreen/functions/venv_setup.sh b/evergreen/functions/venv_setup.sh
index 0a901296aee..128adad9cfd 100644
--- a/evergreen/functions/venv_setup.sh
+++ b/evergreen/functions/venv_setup.sh
@@ -39,6 +39,11 @@ toolchain_txt="$pip_dir/toolchain-requirements.txt"
activate_venv
echo "Upgrading pip to 21.0.1"
-python -m pip install "pip==21.0.1"
-python -m pip install -r "$toolchain_txt" -q
+python -m pip --disable-pip-version-check install "pip==21.0.1" || exit 1
+python -m pip --disable-pip-version-check install -r "$toolchain_txt" -q --log install.log
+if [ $? != 0 ]; then
+ echo "Pip install error"
+ cat install.log
+ exit 1
+fi
python -m pip freeze >pip-requirements.txt