Spaces:
Running
on
Zero
Running
on
Zero
no message
Browse files
deploy.sh
CHANGED
@@ -1,3 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# 安装 Python 3.8
|
2 |
apt install -y python3.8
|
3 |
|
|
|
1 |
+
# 更新包列表
|
2 |
+
apt update -y
|
3 |
+
|
4 |
+
# 安装依赖包
|
5 |
+
apt install -y software-properties-common
|
6 |
+
|
7 |
+
# 添加 deadsnakes PPA 源
|
8 |
+
add-apt-repository -y ppa:deadsnakes/ppa
|
9 |
+
|
10 |
+
# 更新包列表
|
11 |
+
apt update -y
|
12 |
# 安装 Python 3.8
|
13 |
apt install -y python3.8
|
14 |
|