Python出现“InsecurePlatformWarning”错误

超级网迷+ 电脑迷+ 音乐迷
打印 被阅读次数

今天在调试一个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

登录后才可评论.