Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a particular reason on why update-alternatives is not working with Python since ubuntu comes bundled with different versions?

share|improve this question
up vote 11 down vote accepted

The reason is, python versions aren't fully compatibile. If you set 3.3 version as your default, the applications made for 2.7 could not work.

share|improve this answer
Exactly. Python 2 and 3 aren't considered alternatives. They're completely different things. – Oli Apr 22 '14 at 10:28
@Oli Great... except that python 2.x automatically symlinks itself to /usr/bin/python, which IMO is the wrong behavior since they aren't alternatives. – Powerlord May 27 '14 at 18:29
@Powerlord, No, it's not a wrong behaviour, as python is intended to always mean Python 2 and Python 3 expected to always be referred to as python3. I saw a note about this somewhere in a PEP or in Python mailing list (can't remember exactly what's the source). – Hibou57 Aug 21 '14 at 10:29
@Hibou57 I think that in one or two years, they'll change meaning and python will be symbolic link to python3. That is in Arch Linux. – enedil Aug 21 '14 at 10:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.