Python出现“InsecurePlatformWarning”错误
文章来源: 在城里2015-08-08 22:00:00

今天在调试一个Python的网页脚本时,出现了如下错误:

C:Python27Libsite-packagesrequestspackagesurllib3utilssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.

原来,安装/更新一下PyOpenSSL就可以解决了!

2015.08.09