AttributeError: ‘module’ object has no attribute ‘sslwrap’

Question:

I am trying to make a ssl connection to aws from using boto in python(2.7.8).Internally it is using gevent function.I am getting error like this-

I am using amazon linux machine(AWS)

Thanks in advance.

Answer:

I believe this could be related to https://github.com/gevent/gevent/issues/477

Upgrading gevent from 1.0.1 to 1.1.1 resolved the issue for me:

Leave a Reply