Posts: 51
Joined: Mar 2009
Reputation:
0
Hi,
i'm trying to load some python module inside xbmc script but nothing really works.
for example i'm trying this import:
from pysqlite2 import dbapi2 as sqlite3
and it fails with unknown module.
am i missing something?
thanks
Posts: 1,331
Joined: Jan 2008
Reputation:
3
rwparris2
Team-XBMC Python Developer
Posts: 1,331
pysqlite2 isn't included with python 2.4.
XBMC uses python 2.4 always, regardless of what is on your system.
Posts: 51
Joined: Mar 2009
Reputation:
0
2009-04-10, 02:56
(This post was last modified: 2009-04-10, 03:03 by motyR.)
even though i have the pysqlie libs under the sitePackages of python 2.4?
i'm using linux and eclipse ide, if i run just the core of the script inside eclipse and set my interpretor as python 2.4 everything runs ok.
i guess coping the files to the local dir would solve the problem.
Posts: 51
Joined: Mar 2009
Reputation:
0
tanks both of u, saved me few hours of frustration.