Posts: 539
Joined: Jul 2007
Reputation:
19
HenrikDK
Skilled Python Coder
Posts: 539
Hi, I'm not quite sure how this external python support in eden's supposed to work, but we're currently working on some modifications for the youtube plugin that would greatly benefit from the availability of python 2.7. But eden pre seems to ship with python 2.6, is there any way to change this?
Posts: 618
Joined: Apr 2008
Reputation:
6
One very specific problem we are having is finding a windows compatible way to do os.kill.
I haven't been able to find any usable windows version. Nor have i been able to find any that will work for 64bit. But os.kill should work in python 2.7.
All other solutions i have found look really really bad.
Posts: 4,549
Joined: Dec 2007
Reputation:
17
topfs2
Team-Kodi Developer
Posts: 4,549
Well, with eden the idea is that we use the one available on the system. So its more up to the distro than us.
If we will add hooks for addons to specify so that it only works on a very specific python version I'm not sure, it makes sense however to have that (and perhaps we have).
Maverick for example have 2.6.6 so it's probably safer to assume it's >= 2.6.x if you want to hit all possible users.
If you have problems please read
this before posting
Always read the
XBMC online-manual,
FAQ and
search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the
forum rules.
For troubleshooting and bug reporting please make sure you
read this first.
"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Posts: 2,745
Joined: Oct 2003
Reputation:
1
WiSo
Team-Kodi Developer
Posts: 2,745
Windows ships with python 2.6.6 because it was decided to use the same version as Linux does. If we skip that we can move to 2.7.
Posts: 2
Joined: May 2009
Reputation:
0
Is there no way to select a different python install under Eden? I am running ubuntu hardy (and cannot upgrade due to hardware restrictions) on my main XBMC box. I understand it's not a good idea to upgrade the system python past 2.5 due to various dependencies so have created a seperate 2.6 install which should meet my needs hoping to be able to point XBMC pre Eden at this.
P.S. How does XBMC decide what is the system python? As an experiment I created a symlink so that typing python from the terminal runs 2.6 instead of 2.5 but my add on still reports 2.5.2.
Thanks for any help.