ubuntu安装lxml,可以参考一下
先执行
sudo apt-get install libxml2-dev libxslt-dev python-dev
libxml2-dev libxslt-dev python-dev
然后执行
sudo easy_install lxml