简体   繁体   中英

Install python2.7 on Ubuntu 14.04

How can I install python2.7 on Ubuntu 14.04 and make the system's default python the python I installed?

How can I install packages like numpy, scipy and so on in the python I installed? I don't know how to set these settings.

As Selcuk and warmoverflow said, both versions of python , python 2.x and 3.x comes already installed on ubuntu. However if you want to upgrade your python version, say python 2.7.6 to python 2.7.11 or so, you can upgrade it by downloading the latest version and building it from source.

Here is a good tutorial for that : Tutorial 1 Tutorial 2

You can also search on internet for the same.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM