過去の日記

2015-08-04 [長年日記]

InsecurePlatformWarning [Python]

requestsのバージョンをあげたら、

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.

というエラーが出た(Linuxで)。

pip install pyopenssl ndg-httpsclient pyasn1

としたら解消した。

というメモ。


via

https://urllib3.readthedocs.org/en/latest/security.html#pyopenssl