Ubuntu – Inkscape python-lxml error

inkscapepython

I'm using Inkscape 0.91 (r13725) and I always receive this error message when I try to use Perspective add-on or when I try to save the sketch in any format:

The fantastic lxml wrapper for libxml2 is required by inkex.py and therefore this extension. 
Please download and install the latest version from http://cheeseshop.python.org/pypi/lxml/, or install it through your package manager by a command like: sudo apt-get install python-lxml
Technical details: No module named lxml

And I've already installed the python-lxml package and nothing happened.

Can anyone help me?
Thanks for the answers!

Best Answer

Dávid Bartal, I have had the same problem.

Since I installed a package named "python2-lxml", things work normally.

Tip: Inkscape uses python 2.x instead of python 3.x, so install python2 compatible modules. For example install python2-lxml instead of python-lxml.

Good luck!

Related Question