fuliucansheng
commited on
Commit
•
2e01f83
1
Parent(s):
a97af47
add py38
Browse files
py38.sh
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash -
|
2 |
+
#===============================================================================
|
3 |
+
#
|
4 |
+
# FILE: py38.sh
|
5 |
+
#
|
6 |
+
# USAGE: ./py38.sh
|
7 |
+
#
|
8 |
+
# DESCRIPTION:
|
9 |
+
#
|
10 |
+
# OPTIONS: ---
|
11 |
+
# REQUIREMENTS: ---
|
12 |
+
# BUGS: ---
|
13 |
+
# NOTES: ---
|
14 |
+
# AUTHOR: fuliucansheng (fuliu), fuliucansheng@gmail.com
|
15 |
+
# ORGANIZATION:
|
16 |
+
# CREATED: 06/17/2023 00:14
|
17 |
+
# REVISION: ---
|
18 |
+
#===============================================================================
|
19 |
+
|
20 |
+
set -o nounset # Treat unset variables as an error
|
21 |
+
|
22 |
+
sudo apt update
|
23 |
+
|
24 |
+
sudo apt install python3.8-dev python3-pip
|
25 |
+
|
26 |
+
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
27 |
+
sudo python3.8 get-pip.py
|
28 |
+
|
29 |
+
sudo rm -rf get-pip.py
|
30 |
+
|