Reply
Thread Tools
Posts: 58 | Thanked: 14 times | Joined on Mar 2008
#1
I couldn't really find an answer anywhere, so i'm asking here.

What versions of python are available for use on the n900? From n810 experience, only 2.5 had been available for maemo. I don't know if its changed since OS2008, though. I am required to use python 2.6.2 at my school and it would be convenient to have it on the go. If 2.6.2 is not available, are there any differences between 2.5 and 2.6.2 that might cause any problems?
 
Posts: 415 | Thanked: 732 times | Joined on Jan 2009 @ Finland
#2
Current version in the device is 2.5.4

For the changes between 2.5 and 2.6 see python documentation http://docs.python.org/whatsnew/2.6.html
 

The Following User Says Thank You to timoph For This Useful Post:
Posts: 18 | Thanked: 5 times | Joined on Oct 2009
#3
@timoph
A question, are you meaning that on your device you have python pre-installed? On the device shipped to me it is not present and on pymaemo site faq says it is not installed by default.

TIA
 
Posts: 58 | Thanked: 14 times | Joined on Mar 2008
#4
thanks, looks like there's not enough difference between 2.5 and 2.6.2 to worry.
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#5
Python is not preinstalled, no, but is available from the repos, or as a dependency for the first python-based app you install (such as PyGTKEditor, or Canola).
__________________
maemo blog
 
Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#6
If you absolutly need 2.6 for an n810 the simple way is to install Mer on it, as it s include 2.6.

The main differences in 2.6 vs 2.5 is the adds of some 3.0 feature in the __future__ module, and warnings of what will be deprecated in 3.0.

So if you don t use future module you ll not got problems.
 
Posts: 71 | Thanked: 49 times | Joined on Sep 2009 @ Espoo
#7
fpp, where did you get the impression that Python is not installed on the device?

f4b3r, just checked on my N900 and /usr/bin/python reports as 2.5.4

Last edited by ymb; 2009-12-02 at 09:20. Reason: clearing up "on device" question
 

The Following User Says Thank You to ymb For This Useful Post:
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#8
Sorry, I did not read the original question carefully and so answered with my N8x0/Maemo4 experience, as I don't have a N900 yet...

So my reply was off-base and unhelpful, but at least through my mistake I learnt that Maemo5 does have Python pre-installed, which had escaped me, and is very good news :-)
__________________
maemo blog
 
Posts: 6 | Thanked: 1 time | Joined on Oct 2008
#9
My N900 did not have Python installed out of the box. Also, I am very disappointed that 2.6 is not available.
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#10
Aside from perhaps multiprocessing, which has been backported, what 2.6 functionality are you missing ?
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 
Reply


 
Forum Jump


All times are GMT. The time now is 10:32.