微信公众账号开发者认证:uwsgi结合web.py的步骤详解
- 微信应用
- 2024-10-14 10:56:02
微信公众账号开发者认证:uwsgi结合web.py的步骤详解
这篇文章介绍微信公众账号开发者认证:uwsgi结合web.py的步骤详解
这篇文章介绍微信公众账号开发者认证:uwsgi结合web.py的步骤详解
linux version:
[root@mail ~]# uname -aLinux mail.vtata.cn 2.6.18-128.el5xen #1 SMP Wed Jan 21 11:12:42 EST 2009 x86_64 x86_64 x86_64 GNU/Linux[root@mail ~]# cat /etc/redhat-release CentOS release 5.3 (Final)
Python Version:
[root@mail ~]# pythonPython 2.7.5 (default, Jun 14 2013, 18:21:34) [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2Type "help", "copyright", "credits" or "license" for more information
uwsgi Version:
uWSGI 1.4.9
web.py Version:
web.py-0.37
首先是安装所需程序,因为Centos自带的Python是2.4,如果不更新至2.7会发生模块导入错误等问题,
tar xvf Python-2.7.5.tgzcd Python-2.7.5./configure && make all && make install && make distcleanmv /usr/bin/python /usr/bin/python.bakln -sv /usr/local/bin/python2.7 /usr/bin/pythonsed -i s@/usr/bin/python@/usr/bin/python2.4@ /usr/bin/yumtar zxvf uwsgi-1.4.9.tar.gzcd uwsgi-1.4.9python uwsgiconfig.py --buildpython setup.py installtar zxvf web.py-0.37.tar.gzcd web.py-0.37python setup.py install微信公众账号开发者认证:uwsgi结合web.py的步骤详解由讯客互联微信应用栏目发布,感谢您对讯客互联的认可,以及对我们原创作品以及文章的青睐,非常欢迎各位朋友分享到个人网站或者朋友圈,但转载请说明文章出处“微信公众账号开发者认证:uwsgi结合web.py的步骤详解”