访问https://www.python.org/downloads/,点击Download Python 3.x.x下载。 下载后直接安装。 打开terminal输入命令: python --version