Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have recently started learning Python and thus have learned that Ubuntu (10.10) uses Python 2.6. It seems to me that Python 3.X is still rather unpopular in the Linux/Ubuntu community.

Why is that?

Edit April 30, 2012
Python 3.2 is not shipped by default in Ubuntu. There are plans to make Python 3.2 default in 12.10, however, and make it the only version shipped by then. Python 2.7 will then not be on the default ISO anymore. Note: this is only envisaged, not certain yet.

https://wiki.ubuntu.com/Python/FoundationsQPythonVersions

share|improve this question
    
Is 3.2 shipped with 11.10? It still appears to be 2.7, although 3.x is available in the repositories. –  James Mar 17 '12 at 20:47
1  
As a matter of fact BOTH are shipped. If you want to use python 2.7, just type $ python in your terminal, for using 3.2 do $ python3. –  Ingo Mar 18 '12 at 12:01
    
If I type python3 I get The program 'python3' is currently not installed. You can install it by typing: sudo apt-get install python3-minimal –  James Mar 18 '12 at 17:12
    
Can you try $ python 3.2 then? If that does not work I am mistaken, sorry. But in 12.04 there surely is Pyton 3 inlcuded. –  Ingo Mar 19 '12 at 8:28
    
wefearchange.org/2011/05/… –  Ingo Mar 19 '12 at 8:29
show 2 more comments

3 Answers

up vote 11 down vote accepted

I don't think Python 3 is less popular, it just haven't been around as long..

For a language to be used adoption time is needed, version 3.* is so much different from 2.* that you can't use the modules/extensions without changing them beforehand. Therefore all modules that the current infrastructure depends on needs to be ported python 3.*

"If you don't know which version to use, start with Python 2.7; more existing third party software is compatible with Python 2 than Python 3 right now." -Python.org download page.

Se also: Python 2 or Python 3 and Wikipedia

share|improve this answer
1  
Some news: Python 3 is now shipped! –  Ingo Oct 6 '11 at 10:53
add comment

Because Python 3 is still under development and until now a lot of libraries are not ported to Python 3.

share|improve this answer
5  
Python 3 is not under development, it's as released as 2.6 (so is 3.1). The real issue is that a lot of libraries are not ported yet. –  Mike Axiak Nov 1 '10 at 16:28
1  
Python 3 is under development... that doesn't mean that there can't be releases that can be considered stable. but i wouldn't consider 3.2 alpha 3 stable as you imply. –  Source Lab Nov 1 '10 at 16:43
add comment

Your Answer

 
discard

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.