Set python3 to 3.7.6

This commit is contained in:
Taylor Helsper 2020-03-05 20:23:47 -06:00 committed by GitHub
parent 64766a11b8
commit 36c5c8978b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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