Pip install breaks on SSL warning
Encountered with Osgeo py2.7. This fix works.
[FIX] InsecurePlatformWarning - You can upgrade to a newer version of Python to solve this
Leonardo Armando Iarrusso
Sample error that can occur:
_vendor\requests\packages\urllib3\util\ssl_.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]