diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2016-10-15 21:12:41 +0200 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2016-10-15 21:53:02 +0200 |
commit | ab0a72765588009b5dd840f7bef8d0738310ad53 (patch) | |
tree | 6ed193be1702cc2922629e6531981994638a75e1 /tools | |
parent | 1152292da0666565b2b6e929076efee027c1c732 (diff) |
install missing python dependencies
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/gce/linux_performance_worker_init.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/gce/linux_performance_worker_init.sh b/tools/gce/linux_performance_worker_init.sh index d09efc1f2e..523749ee81 100755 --- a/tools/gce/linux_performance_worker_init.sh +++ b/tools/gce/linux_performance_worker_init.sh @@ -90,6 +90,16 @@ sudo apt-get install -y libgflags-dev libgtest-dev libc++-dev clang # Python dependencies sudo pip install tabulate sudo pip install google-api-python-client +sudo pip install virtualenv + +# TODO(jtattermusch): For some reason, building gRPC Python depends on python3.4 +# being installed, but python3.4 is not available on Ubuntu 16.04. +# Temporarily fixing this by adding a PPA with python3.4, but we should +# really remove this hack once possible. +sudo add-apt-repository -y ppa:fkrull/deadsnakes +sudo apt-get update +sudo apt-get install -y python3.4 python3.4-dev +python3.4 -m pip install virtualenv curl -O https://bootstrap.pypa.io/get-pip.py sudo pypy get-pip.py |