Install the latest python (3.8) on EC2

0

I'm trying to install the latest python version (today = 3.8) onto Amazon EC2 Ubuntu 18.04

I don't understand why doing sudo apt-get install python3 I only have 3.6.8

Using other than Ubuntu 18.04 but Amazon AMI 2, I have 3.7.4

I haven't found anything else on the internet discussing about it. I'd like to use the latest python version available.

Any idea how I should do to install this latest version on my EC2 Ubuntu ?

Thanks

Eric75
已提問 4 年前檢視次數 2562 次
1 個回答
0
已接受的答案

Hello @Eric75,

I understand you are trying to run the latest version of python (3.8) on an Ubuntu AMI.

Can try "sudo apt-get install python3.8"?
When you run it use "python3.8 function.py"

Hope this is helpful.

piboaws
已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南