Skip to content

在EC2上安装最新的Python(3.8)

0

【以下的问题经过翻译处理】 我正在尝试将最新的Python版本(今天=3.8)安装到Amazon EC2 Ubuntu 18.04上。

我不明白为什么使用sudo apt-get install python3时只有3.6.8版本。

如果使用除了Ubuntu 18.04以外的Amazon AMI 2,则会有3.7.4版本。

我在互联网上没有找到其他讨论,我想使用可用的最新Python版本。

任何想法如何在我的EC2 Ubuntu上安装此最新版本?

EXPERT
asked 2 years ago228 views
1 Answer
0

【以下的回答经过翻译处理】 我了解你正在尝试在Ubuntu AMI上运行最新版本的Python(3.8)。

你可以尝试使用“sudo apt-get install python3.8”命令进行安装。安装完成后使用“python3.8 function.py”命令运行。

希望这对你有所帮助。

EXPERT
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.