From 36c5c8978b08fce53dc36186c1c08cca8968f473 Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Thu, 5 Mar 2020 20:23:47 -0600 Subject: [PATCH] Set python3 to 3.7.6 --- setup/setup_device.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup/setup_device.sh b/setup/setup_device.sh index 7a234cf1..20fd2433 100755 --- a/setup/setup_device.sh +++ b/setup/setup_device.sh @@ -137,14 +137,14 @@ pip install grpcio grpcio-tools googleapis-common-protos pip install tzupdate virtualenv -# Update Python3 to 3.8.X +# Update Python3 to 3.7.X PYTHON3_VERSION=$(python3 --version) -if [[ "$PYTHON3_VERSION" != *"Python 3.8"* ]]; then +if [[ "$PYTHON3_VERSION" != *"Python 3.7.6"* ]]; then mkdir -p /opt/download cd /opt/download - wget https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tar.xz - tar xf Python-3.8.2.tar.xz - cd Python-3.8.2 + wget https://www.python.org/ftp/python/3.7.6/Python-3.7.6.tar.xz + tar xf Python-3.7.6.tar.xz + cd Python-3.7.6 ./configure make -j4 make install