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 年前2570 查看次数
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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则