嗨,我正在尝试在我的16.04云映像上安装python2.7.6。其提供以下信息-apt install python=2.7.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python
答案 0 :(得分:1)
安装Python 2.7.6:
$ wget https://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz
$ tar xvfz Python-2.7.6.tgz
$ cd Python-2.7.6/
$ ./configure
$ make
$ make install
信息来源:SOURCE