aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/helper_scripts
diff options
context:
space:
mode:
authorGravatar Matt Kwong <mattkwong@google.com>2018-05-15 17:48:32 -0700
committerGravatar Matt Kwong <mattkwong@google.com>2018-05-15 17:48:32 -0700
commit0c787785913c3f0e3113f08b72688dde0839b1ab (patch)
tree817a77aa221b72fb1af080f7aab5b186860c041c /tools/run_tests/helper_scripts
parent5fc081acd101d345786ebb072a434f6efacfe0a1 (diff)
Add --user flag to pip install in build_python.sh
Diffstat (limited to 'tools/run_tests/helper_scripts')
-rwxr-xr-xtools/run_tests/helper_scripts/build_python.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/run_tests/helper_scripts/build_python.sh b/tools/run_tests/helper_scripts/build_python.sh
index c2a506afd8..a88a7d4d64 100755
--- a/tools/run_tests/helper_scripts/build_python.sh
+++ b/tools/run_tests/helper_scripts/build_python.sh
@@ -129,7 +129,7 @@ fi
############################
# Instantiate the virtualenv from the Python version passed in.
-$PYTHON -m pip install virtualenv
+$PYTHON -m pip install --user virtualenv
$PYTHON -m virtualenv "$VENV"
VENV_PYTHON=$(script_realpath "$VENV/$VENV_RELATIVE_PYTHON")