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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인