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
Shane
  • 2,315
  • 3
  • 21
  • 33

1 Answers1

1

Ensure that you have openssl package installed.

Yossi
  • 11,778
  • 2
  • 53
  • 66