upgrade ndg-httpsclient with pip install upgrade ndg-httpsclient
use pyOpenSSL as described in the OpenSSL / PyOpenSSL section
您使用的是python2.7.6,因此我猜第一项可能适用于这里。在同一页中,请参见:
Certain Python platforms (specifically, versions of Python earlier
than 2.7.9) have restrictions in their ssl module that limit the
configuration that urllib3 can apply.
urllib3
的documentation page显式建议您在insecurePlateformWarning
的情况下执行以下操作之一您使用的是python2.7.6,因此我猜第一项可能适用于这里。在同一页中,请参见:
简而言之,您至少应该尝试升级到python2.7.9,或者升级
ndg-httpsclient
,如前所述。你知道吗相关问题 更多 >
编程相关推荐