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年前2495ビュー
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ