diff --git a/scripts/scripts-library.sh b/scripts/scripts-library.sh index 11a559ce4e..aa0fd22b6a 100755 --- a/scripts/scripts-library.sh +++ b/scripts/scripts-library.sh @@ -217,6 +217,9 @@ function get_pip { # been updated at this point to include any newer pip packages. pip install --upgrade ${PIP_INSTALL_OPTIONS} || pip install --upgrade --isolated ${PIP_INSTALL_OPTIONS} + # Ensure that our shell knows about the new pip + hash -r pip + # when pip is not installed, install it else