X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fpython-tools-install.sh;h=e27d64ed6a7551dba71bf50b3b96b1b05cd03459;hb=d92cb3ee2e72846f2f2dd6e607bc8e76087f1965;hp=7988c3195d476da4dd1056cdb61203279672c57d;hpb=29507d6c600e469e78bd2c481b742878b5fd4da4;p=releng%2Fglobal-jjb.git diff --git a/shell/python-tools-install.sh b/shell/python-tools-install.sh index 7988c319..e27d64ed 100644 --- a/shell/python-tools-install.sh +++ b/shell/python-tools-install.sh @@ -35,9 +35,9 @@ EOF # Use `python -m pip` to ensure we are using pip from user venv python3 -m venv ~/.local - python3 -m pip install --quiet --upgrade pip - python3 -m pip install --quiet --no-warn-script-location --upgrade setuptools - python3 -m pip install --quiet --no-warn-script-location --upgrade --upgrade-strategy eager -r "$requirements_file" + python3 -m pip install --user --quiet --upgrade pip + python3 -m pip install --user --quiet --no-warn-script-location --upgrade setuptools + python3 -m pip install --user --quiet --no-warn-script-location --upgrade --upgrade-strategy eager -r "$requirements_file" rm -rf "$requirements_file" touch /tmp/pre-build-complete fi