The following warning is now available in python
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: 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
Here There is a story of a similar symptom, and I think that installing the package requests [security] as follows will cure it.
python
sudo apt-get install python-dev libffi-dev build-essential
sudo pip install requests[security]
After that, this warning disappeared. Was good.
Recommended Posts