问题: 使用easy_install或者pip在mac下安装python-lxml,报告如下错误:
In file included from src/lxml/lxml.etree.c:254:
/private/tmp/pip-build/lxml/src/lxml/includes/etree_defs.h:9:10: fatal error: 'libxml/xmlversion.h' file not found
#include "libxml/xmlversion.h"
^
1 error generated.
解决办法 (参考http://stackoverflow.com/questions/19548011/cannot-install-lxml-on-mac-os-x-10-9)
sudo STATIC_DEPS=true pip install lxml