美文网首页
Inkscape在Linux上ImportError: No m

Inkscape在Linux上ImportError: No m

作者: 吃烧烤的老王 | 来源:发表于2019-08-08 20:52 被阅读0次

    在Linux(Manjaro)上使用Inkscape做对象沿路径散布运算并实时预览的时候遇到了如下问题:

    Traceback (most recent call last):
    File “pathscatter.py”, line 39, in
    from lxml import etree
    ImportError: No module named lxml
    

    原因是Inkscape使用的依然是Python2,因此需要安装python2-lxml

    手动安装一下就可以了
    sudo pacman -S python2-lxml

    问题解决

    相关文章

      网友评论

          本文标题:Inkscape在Linux上ImportError: No m

          本文链接:https://www.haomeiwen.com/subject/zovfjctx.html