0

I'm getting an error because the ssl module isn't available

If I run help('modules') from the python interpreter it is listed there

When I try to import it from the interpreter, I get

>>> import ssl

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/ssl.py", line 60, in <module>
    import _ssl             # if we can't import it, let the error propagate
2

1 Answer 1

1

Ensure that you have openssl package installed.

Not the answer you're looking for? Browse other questions tagged or ask your own question.