Cur*_*ous 4 python ssl google-app-engine
当我部署谷歌应用引擎项目时,我收到以下警告:
WARNING appengine_rpc.py:399 ssl module not found.
Without the ssl module, the identity of the remote host cannot be verified, and
connections may NOT be secure. To fix this, please install the ssl module from
http://pypi.python.org/pypi/ssl.
Run Code Online (Sandbox Code Playgroud)
我下载了包,但是当我尝试时
python setup.py build
Run Code Online (Sandbox Code Playgroud)
我得到以下错误输出:
looking for /usr/include/openssl/ssl.h
looking for /usr/local/ssl/include/openssl/ssl.h
looking for /usr/contrib/ssl/include/openssl/ssl.h
Traceback (most recent call last):
File "setup.py", line 167, in <module>
ssl_incs, ssl_libs, libs = find_ssl()
File "setup.py", line 142, in find_ssl
raise Exception("No SSL support found")
Exception: No SSL support found
Run Code Online (Sandbox Code Playgroud)
我需要做什么来安装它,它是路径问题还是什么?
通过首先安装pycrypto,按照此处的说明并使用对此问题的答案的见解进行修复.
我用于最终构建的完整命令行是:
CC='/usr/bin/gcc-4.0' python2.5 setup.py build
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5128 次 |
| 最近记录: |