-4

每次我运行 sudo pip install mitmproxy 时,我都会收到以下错误:

`Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-X64rxt-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/lxml
Storing debug log for failure in /home/rg/.pip/pip.log`

我已经尝试过:sudo apt-get install libffi-dev但仍然出现错误!

日志文件有:错误:/bin/sh:1:xslt-config:未找到

** make sure the development packages of libxml2 and libxslt are installed **
4

1 回答 1

0

您需要弄清楚从哪里获取xslt-config,并首先安装它。

于 2014-05-26T10:01:51.223 回答