的谷歌应用程序引擎启动器告诉我:如何在Windows上安装Python ssl模块?
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 .
我下载的软件包,它包含一个setup.py
文件。我跑:
python setup.py install
然后:
Python was built with Visual Studio 2003; blablabla use MinGW32
然后我安装MINGW32现在的编译不起作用。编译错误的结尾包含:
ssl/_ssl2.c:1561: error: `CRYPTO_LOCK' undeclared (first use in this function)
error: command 'gcc' failed with exit status 1
我该怎么办?
我在win7x64下安装python,并且提示没有ssl,安装setuptools然后pip,最后:pip安装pyOpenSSL。 – BollMose 2014-11-04 08:11:58
@ DienBell的评论是为我解决的(干净安装Windows 8.1,无需编译环境) – WoJ 2015-03-11 14:10:57