微信公众平台服务配置

2018-10-26  本文已影响0人  yancoding

1.python

#查看Python版本,要大于2.7
python -v

2.web.py安装

web.py官网: http://webpy.org/

#详情可以查看官网
sudo pip install web.py

3.安装libxml2, libxslt, lxml python

安装libxml2

官网: http://www.xmlsoft.org/downloads.html
仓库:https://gitlab.gnome.org/GNOME/libxml2/#

#唉,这个很慢
git clone https://gitlab.gnome.org/GNOME/libxml2.git
#上面这个最后卡死了,换了个方法
wget ftp://xmlsoft.org/libxml2/libxml2-git-snapshot.tar.gz
tar zxvf libxml2-git-snapshot.tar.gz
tar zxvf libxml2-git-snapshot.tar.gz
cd libxml2-2.9.7/
./configure
make
make install

安装libxslt

官网: http://xmlsoft.org/libxslt/downloads.html

(NOTE that you need the libxml2, libxml2-devel, libxslt and libxslt-devel packages installed to compile applications using libxslt.)

上一篇下一篇

猜你喜欢

热点阅读