If I run python from a terminal, I can "import lxml" with no error message:
Code: Select all
$ python
EPD with Py2.5 (4.0.30002 ) -- http://www.enthought.com/epd
Python 2.5.2 |EPD with Py2.5 4.0.30002 | (r252:60911, Oct 15 2008, 16:58:38)
[GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from lxml import etree
>>>
But the error is coming from code in inkex.py that says:
Code: Select all
try:
from lxml import etree
except:
sys.exit('The fantastic lxml wrapper for libxml2 is required by inkex.py
So... what's going on?