我使用Inkscape 0.91 (r13725),当我尝试使用透视加载项或试图以任何格式保存草图时,我总是收到此错误消息:
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我已经安装了python包,但什么也没有发生。
有谁可以帮我?谢谢你的回答!
发布于 2016-03-12 00:25:07
达维德·巴塔尔我也有过同样的问题。
由于我安装了一个名为"python2-lxml“的包,所以一切正常工作。
提示: Inkscape使用python2.x而不是python3.x,所以安装python2兼容模块。例如,安装python2-lxml而不是python。
祝好运!
发布于 2017-07-19 05:22:44
libxml2的奇妙lxml包装器是inkex.py所必需的,因此这个extension.Please从http://cheeseshop.python.org/pypi/lxml/下载并安装最新版本,或者通过一个命令通过包管理器安装它,例如: sudo apt-get install python-lxml技术细节:没有名为lxml的模块。
当我收到这个错误时,我正试图保存一个Inkscape 0.92.1文件。我需要跑:
brew install libxml2紧随其后
easy_install lxml
在此之后,我又犯了一个错误:
未能导入Python模块“清查”。请确保它已安装(例如使用“pip install scour”或“sudo apt install python-scour”),然后再试一次。详细信息:没有名为scour的模块
我用跑步来修正:
easy_install scour
希望这能帮到别人!
https://askubuntu.com/questions/730786
复制相似问题