Ubuntu:找不到 Python 命令,但 apt 说它已经安装

Tyl*_*ert 3 python ubuntu

我在 Ubuntu 上,需要运行一个 python 脚本,但 bash 找不到 python。

$ python main.py
bash: python: command not found
Run Code Online (Sandbox Code Playgroud)

当我去用 apt 安装它时,我被告知它已经安装了。

$ sudo apt-get install python
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python is already the newest version (2.7.12-1~16.04).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Run Code Online (Sandbox Code Playgroud)

我该如何解决?

Tyl*_*ert 10

它被保存为 python3 而不是 python