1、安装web.py
pip3 install web.py
2、安装lxml
pip3 install lxml
3、安装libxml2 (参考 http://c.biancheng.net/view/1116.html)
第一步、安装python-devel
yum -y install python-devel
第二步、下载文件
wget ftp://xmlsoft.org/libxml2/libxml2-2.9.10.tar.gz
第三步、配置
./configure --prefix=/usr/local/libxml2/
第四步、make
第五步、make install
4、安装libxslt
yum -y install libxslt