Inkscape.org
Beginners' Questions Inkscape Extentions and python-lxml [SOLUTION]
  1. #1
    Borbor Borbor @Borbor

    Solution to this problem

    I am running Manjaro (Linux) distro. 2020 stable update.

    I have Inkscape 0.92.4 installed from the repos.

    When I access the Extentions I get:

    "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"

    Yet it is listed in my packages:-
    "extra/python-lxml 4.4.2-1 [installed]
        Python3 binding for the libxml2 and libxslt libraries
    extra/python-lxml-docs 4.4.2-1 [installed]
        Python binding for the libxml2 and libxslt libraries (docs)"

    Any solutions to this?

    Thanks

    Solution from Manjaro Forum

    "Inkscape is still using Python2 and this is valid for its dependency too, install python2-lxml, it is listed in the optional dependency of the package"

    $ sudo pacman -Syu python2-lxml

    Resolved issue.

    Thanks to Lolix and steanne from Manjaro forum.

  2. #2
    Martin Owens Martin Owens @doctormo🌹🧀

    For the future, Inkscape 1.0 is using python3, so make sure to not install python2 versions in linux going forwards.

  3. #3
    Borbor Borbor @Borbor

    Looking foward to Inkscape 1.0.

  4. #4
    andrixnet andrixnet @andrixnet

    I have the same problem with Inkscape on windows. Got the error while trying to export to DXF file.

    How can I fix this on Windows? Thank you

  5. #5
    Italo Campos Italo Campos @italocampos

    I'm in the 1.1 version (Manjaro). To me worked install the lxml lib in python 3:
     

    # Install pip (required if you don't have pip intalled .-.)

    sudo pacman -s python-pip && pip install lxml

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Inkscape Extentions and python-lxml [SOLUTION]