Skip to content

Commit d83fc75

Browse files
Merge pull request #1 from australiangreens/fix-python3
Use python3 for Ubuntu 18.04+
2 parents 6b16701 + c766a28 commit d83fc75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

user_data.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
# Apt based distro
88
if command -v apt-get &>/dev/null; then
99
apt-get update
10-
apt-get install python-pip jq -y
10+
apt-get install python3-pip jq -y
1111

1212
# Yum based distro
1313
elif command -v yum &>/dev/null; then
1414
yum update -y
1515
# epel provides python-pip & jq
1616
yum install -y epel-release
17-
yum install python-pip jq -y
17+
yum install python3-pip jq -y
1818
fi
1919

2020
#####################
2121

22-
pip install --upgrade awscli
22+
pip3 install --upgrade awscli
2323

2424
##############
2525

0 commit comments

Comments
 (0)