Inkscape python-lxml 错误

Dáv*_*tal 3 python inkscape

我正在使用 Inkscape 0.91 (r13725),当我尝试使用 Perspective 插件或尝试以任何格式保存草图时,我总是收到此错误消息:

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
Run Code Online (Sandbox Code Playgroud)

而且我已经安装了 python-lxml 包,但什么也没发生。

谁能帮我?感谢您的回答!

小智 5

Dávid Bartal,我遇到了同样的问题。

由于我安装了一个名为“python2-lxml”的包,所以一切正常。

提示:Inkscape 使用 python 2.x 而不是 python 3.x,所以安装 python2 兼容模块。例如安装 python2-lxml 而不是 python-lxml。

祝你好运!