Python AttributeError: ‘module’ object has no attribute ‘SSL_ST_INIT’

Upgrading pyopenssl with pip was not working as none of the commands related to to pip was working for me. By upgrading pyopenssl with easy_install, above problem can be solved.

sudo python -m easy_install --upgrade pyOpenSSL

credit @delimiter (Answer)

Leave a Comment