How to install python library
#1
i installed pyxml on my mac (avail at http://pyxml.sf.net).
i tried copying the lib/site-packages/_xmlplus/* to the xbox in xbmc/python/lib/xml/*
but running the script crash on 'from xml import xpath'
there is a xbmc/python/lib/xml/xpath directory... but it doesn't seem to find it.
how can i install pyxml on xbmc ?

thanks.
Reply
#2
i also tried to install it in python/lib/site-packages/_xmlplus/* like it is on my mac; didn't work.
and i tried to use libxml2 with no luck (not sure this one has any chance to load, since it uses dll!Wink; but the problem seems to be the same: python doesn't seem to see it in the lib dir...
Reply
#3
do you really need pyxml?

the python23.zlib in cvs has support for the standard python 2.3 xml libraries, including dom, expat, and sax.

documentation:
http://www.python.org/doc/current/lib/markup.html
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.
Reply
#4
i was missing xpath in the default xml implementation of python.
i finally found that my package needed to be named _xmlplus, which is the package name which xml/.py load by default if found.
by copying the xml/* files from python23.zlib and by adding the modules i needed (xpath, utils, etc) i was able to make it work.
Reply

Logout Mark Read Team Forum Stats Members Help
How to install python library0