zzzzz icon indicating copy to clipboard operation
zzzzz copied to clipboard

urllib throwing a InsecurePlatformWarning

Open kirtangajjar opened this issue 9 years ago • 2 comments

Here is the full error:

/local/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:120: 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.
  InsecurePlatformWarning

Is it just me or everyone is having this?

kirtangajjar avatar Feb 20 '16 14:02 kirtangajjar

Hello,

try pip install requests[security]

TheHades avatar Feb 20 '16 14:02 TheHades

make sure to install install python-dev libssl-dev upfront

0xB455 avatar Feb 21 '16 10:02 0xB455