Install required packages with --user

pull/21451/head
Lidi Zheng 5 years ago
parent cceacf1d16
commit 151e5b72af
  1. 2
      tools/run_tests/artifacts/build_artifact_python.bat
  2. 2
      tools/run_tests/artifacts/build_artifact_python.sh

@ -19,7 +19,7 @@ python -m pip install --upgrade six
@rem some artifacts are broken for setuptools 38.5.0. See https://github.com/grpc/grpc/issues/14317
python -m pip install --upgrade setuptools==38.2.4
python -m pip install --upgrade cython
python -m pip install -rrequirements.txt
python -m pip install -rrequirements.txt --user
set GRPC_PYTHON_BUILD_WITH_CYTHON=1

@ -23,7 +23,7 @@ export PIP=${PIP:-pip}
export AUDITWHEEL=${AUDITWHEEL:-auditwheel}
# Install mandatory Python dependencies to avoid source wheel build failure.
"${PIP}" install -rrequirements.txt
"${PIP}" install -rrequirements.txt --user
# Allow build_ext to build C/C++ files in parallel
# by enabling a monkeypatch. It speeds up the build a lot.

Loading…
Cancel
Save