Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
import os
|
2 |
-
os.system('
|
3 |
os.system('tar -xvf Python-3.9.7.tgz')
|
4 |
os.system('cd Python-3.9.7')
|
5 |
os.system('/configure --enable-optimizations')
|
6 |
os.system('make -j 2')
|
7 |
os.system('nproc')
|
8 |
-
os.system('
|
9 |
os.system('python3.9 --version')
|
10 |
os.system('cat /etc/os-release')
|
11 |
os.system('python -m pip install --upgrade pip')
|
|
|
1 |
import os
|
2 |
+
os.system('wget https://www.python.org/ftp/python/3.9.7/Python-3.9.7.tgz')
|
3 |
os.system('tar -xvf Python-3.9.7.tgz')
|
4 |
os.system('cd Python-3.9.7')
|
5 |
os.system('/configure --enable-optimizations')
|
6 |
os.system('make -j 2')
|
7 |
os.system('nproc')
|
8 |
+
os.system('make altinstall')
|
9 |
os.system('python3.9 --version')
|
10 |
os.system('cat /etc/os-release')
|
11 |
os.system('python -m pip install --upgrade pip')
|