Picture

Samuel's Website

InsecurePlatformWarning: A true SSLContext object is not available

Samuel Forestier — 10 January 2016
With some scripts running Python and trying to post or send data on web, you may have this warning appearing.
This is the requests module which complains about your system.

To help him during the fight, we've to install some packages, through pip:
$ wget https://bootstrap.pypa.io/get-pip.py
# python get-pip.py
Once pip is correctly installed, run:
# pip install pyopenssl ndg-httpsclient pyasn1
Let him build and install the new modules alone (it may take a long time), and when it's finished, run again your scripts; the warnings should have disappeared.