标签:port import get python pytho files xsl lib setup
之前记得安装libxslt和libxml
yum install libxml* -y
yum install libxslt* -y
wget http://lxml.de/files/lxml-3.1.2.tgz
tar xzvf lxml-3.1.2.tgz
cd lxml-3.1.2
python setup.py build
python setup.py install
cd ..
#验证是否安装成功
shell > python
>>> import lxml
标签:port import get python pytho files xsl lib setup
原文地址:http://www.cnblogs.com/hei-hei-hei/p/6054869.html