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


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.

  • 9
    Exactly. Python 2 and 3 aren't considered alternatives. They're completely different things. – Oli Apr 22 '14 at 10:28
  • 1
    @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
  • 2
    @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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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