Using external lxml library
I'm running Inkscape 0.48.2 r9819.
My computer is an iMac running OSX 10.6.8
I've install Python 2.6 through MacPorts.
edmonde:~ gmandil$ which python
/opt/
Just to be sure about the version :
edmonde:~ gmandil$ python version
/opt/
Then testing the lxml class :
edmonde:~ gmandil$ python
Python 2.6.7 (r267:88850, Nov 5 2011, 20:04:43)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from lxml import etree
>>> print("running with lxml.etree")
running with lxml.etree
>>> root = etree.Element(
>>> root.append( etree.Element(
>>> child2 = etree.SubElemen
>>> print(etree.
<root>
<child1/>
<child2/>
</root>
>>> exit()
But when I try to run some inkscape extension I get the boring message :
"La fantastique classe lxml pour libxml2 est nécessaire à inkex.py et par conséquent à cette extension. Veuillez en télécharger et installer la dernière version à partir du site http://
As I've read some issues (https:/
Does anyone can tell me how could i make inkscape use the Macports lxml version that is installed on my system ??
Thanks in advance
Guillaume
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Inkscape Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- su_v
- Solved:
- Last query:
- Last reply: