如何在 ubuntu 13.04 中安装 python 3.2

Jos*_*shi 8 installation python 13.04

我需要 python 3.2 用于开发目的,但新的 ubuntu 13.04 带有 python 3.3。

是否有将旧版 python 安装到 ubuntu 的最佳实践?

谢谢

小智 11

使用Deadsnakes PPA,其中包括为一系列 Ubuntu 版本打包的一系列 Python 版本,其中包括 3.2 版本。

sudo apt-add-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python3.2
Run Code Online (Sandbox Code Playgroud)