how to install python on ubuntu 12.04

Asked by Raviteja

how to install latest version of python on ubuntu 12.04

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu python-defaults Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

lsb_release -a; uname -a; python -version

Thanks

Revision history for this message
Thomas Krüger (thkrueger) said :
#2

Ubuntu 12.04 comes with the most recent version of Python 2 (2.7.3) installed. The most recent recent version of Python 3 can be installed via the software center as package name "python3.2".

Revision history for this message
Warren Hill (warren-hill) said :
#3

You should have it installed already (Probably version 2.7.3)

Andrew appears to have made a slight typing error in post #1 (unusual for him) In a terminal (CTRL+ALT+T) Enter the following command

lsb_release -a; uname -a; python --version

note extra dash before version

This will tell us which Ubuntu you have installed and what version of Python.

Can you help with this problem?

Provide an answer of your own, or ask Raviteja for more information if necessary.

To post a message you must log in.