aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gce
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2018-10-10 22:19:14 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2018-10-12 12:26:02 +0200
commitb3ee59a4864903476c0805cfb2d860a501463640 (patch)
treec41bc32f7e8cc532d6b050d3b0c20a739ab1b3f4 /tools/gce
parentc2b64573b08351fb5acaf08f2314e57168ef846e (diff)
install psutil using apt-get
Diffstat (limited to 'tools/gce')
-rwxr-xr-xtools/gce/linux_kokoro_performance_worker_init.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/gce/linux_kokoro_performance_worker_init.sh b/tools/gce/linux_kokoro_performance_worker_init.sh
index 2fa4512c7c..f1c4b76779 100755
--- a/tools/gce/linux_kokoro_performance_worker_init.sh
+++ b/tools/gce/linux_kokoro_performance_worker_init.sh
@@ -69,7 +69,7 @@ sudo apt-get install -y google-perftools libgoogle-perftools-dev
sudo apt-get install -y netperf
# required to run kokoro_log_reader.py
-sudo pip install psutil
+sudo apt-get install -y python-psutil python3-psutil
# C++ dependencies
sudo apt-get install -y libgflags-dev libgtest-dev libc++-dev clang
@@ -95,6 +95,7 @@ rm Python-3.4.6.tgz
curl -O https://bootstrap.pypa.io/get-pip.py
sudo pypy get-pip.py
sudo pypy -m pip install tabulate
+# TODO(jtattermusch): make it clear this already uses pypy's pip
sudo pip install google-api-python-client
# Node dependencies (nvm has to be installed under user kbuilder)