In [1]: import ssl  In [2]: context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)  AttributeError  Traceback (most recent call last) <ipython-input-2-13c9bad66150> in <module>() ----> 1 context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)  AttributeError: 'module' object has no attribute 'SSLContext'   Python version: 2.7.6
SSLContext was introduced in 2.7.9, you're using an old version of Python so it doesn't have this attribute.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With