Thursday, 26 July 2018

FIX InsecurePlatformWarning You can upgrade to a newer version of Python to solve this

FIX InsecurePlatformWarning You can upgrade to a newer version of Python to solve this




Sample error that can occurr:
_vendor equestspackagesurllib3utilssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning


To solve without wasting time just run:
pip install requests[security]


 

go to link download