Resolve InsecurePlatformWarning: A true SSLContext object is not available.

How to Solve error: InsecurePlatformWarning: A true SSLContext object is not available.

  1. Install libffi-dev and libssl-dev under ubuntu: apt-get install libffi-dev libssl-dev(if not installed before, restart after installation)
  2. pip install requests[security] or pip install pyopenssl ndg-httpsclient pyasn1

Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *