测试安装
cd ENV . bin/activate yum install libxml2-devel libxslt-devel pip install soaplib
安装中遇到的问题:
- UnicodeDecodeError ...
-
export LANG="en_US.UTF-8" #临时改变LANG环境变量
- libxml/xmlversion.h: No such file or directory
-
yum install libxml2-devel libxslt-devel
参考:
#http://stackoverflow.com/questions/15759150/src-lxml-etree-defs-h931-fatal-error-libxml-xmlversion-h-no-such-file-or-di