每次我运行 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 **