Help finding lxml module for xbmc
#1
from lxml import etree

Can't seem to find the lxml module can someone point me in the right direction!

Getting this "Error Contents: No module named lxml"
Reply
#2
You can't. Use xml.etree.ElementTree instead.
Reply
#3
If you really need to use lxml for some reason, you would need to package it with your add-on and then import it from the custom location. Here's how you might structure things:
Code:
addon folder
  resources
    __init__.py (blank)
    lxml

then just use import resources.lxml.whatever
Reply
#4
Openelec includes lxml, which imo has higher parsing performance then all other regex parsers
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
Reply

Logout Mark Read Team Forum Stats Members Help
Help finding lxml module for xbmc0