I am having an issue that is eerily similar to this post on SO. I cannot use the answer there because I am on Ubuntu, and brew
is for Mac. When I try to launch my Django server, (python manage.py runsslserver
) I get the following error:
AttributeError: 'module' object has no attribute 'PROTOCOL_TLSv1_2'
I know I have OpenSSL installed for Python, as when I run import ssl
and then print ssl.OPENSSL_VERSION
in my Python environment, I get:
OpenSSL 1.0.1f 6 Jan 2014
There must be something really simple I am missing here. Any help at all is appreciated.