Ubuntu 9.04
python 2.54
今天尝试GAE的时候,运行dev_appserver.py出错,查了一下,原来是ssl问题。
解决方法:
1、sudo apt-get install libssl-dev
2、解压python源文件包,修改文件Modules/Setup.dist:
# Socket module helper for SSL support; you must comment out the other
# socket line above, and possibly edit the SSL variable:
SSL=/usr
_ssl _ssl.c \
-DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
-L$(SSL)/lib -lssl -lcrypto
3、编译安装python
本文介绍了在Ubuntu 9.04环境下使用Google App Engine (GAE)遇到的ssl问题及解决方案。通过安装libssl-dev包并修改python源文件中的Modules/Setup.dist配置,解决了dev_appserver.py运行时出现的ssl问题。
3927

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



