3

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!

  • A similar question has been asked here. – usmanayubsh Feb 7 '16 at 10:54
  • @usmanayubsh That's for Mac OS – Dávid Bartal Feb 7 '16 at 10:56
4

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!

  • Thanks so much, this error was driving me nuts, your solution fixed it nicely. – thebunnyrules Nov 30 '16 at 6:21
0

I fixed it!

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

I was trying to save an Inkscape 0.92.1 file when I got this error. I needed to run:

brew install libxml2 followed by

easy_install lxml

After this I got another error:

Failed to import Python module 'scour'. Please make sure it is installed (e.g. using 'pip install scour' or 'sudo apt-get install python-scour') and try again. Details: No module named scour

which I fixed by running:

easy_install scour

Hope this helps someone!

  • It does not. What is easy_install? – D. Dan Oct 22 '18 at 13:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.