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
本文详细介绍了如何在Python环境中安装web.py、lxml等Web开发必需的库,并提供了安装libxml2和libxslt的步骤,包括使用pip、yum、wget、make等工具的具体命令。
1893

被折叠的 条评论
为什么被折叠?



