diff --git a/tools/cap-pip.txt b/tools/cap-pip.txt new file mode 100644 index 0000000000..1a6f80c506 --- /dev/null +++ b/tools/cap-pip.txt @@ -0,0 +1 @@ +pip<8 diff --git a/tools/install_pip.sh b/tools/install_pip.sh index f239c7bb16..542a28454d 100755 --- a/tools/install_pip.sh +++ b/tools/install_pip.sh @@ -77,9 +77,9 @@ function install_get_pip { die $LINENO "Download of get-pip.py failed" touch $LOCAL_PIP.downloaded fi - sudo -H -E python $LOCAL_PIP + sudo -H -E python $LOCAL_PIP -c $TOOLS_DIR/cap-pip.txt if python3_enabled; then - sudo -H -E python${PYTHON3_VERSION} $LOCAL_PIP + sudo -H -E python${PYTHON3_VERSION} $LOCAL_PIP -c $TOOLS_DIR/cap-pip.txt fi }