mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 22:18:07 +00:00
Set python3 to 3.7.6
This commit is contained in:
parent
64766a11b8
commit
36c5c8978b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user