0

我收到一个错误,因为该ssl模块不可用

如果我help('modules')从 python 解释器运行,它会列在那里

当我尝试从解释器导入它时,我得到

>>> 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
4

1 回答 1

1

Ensure that you have openssl package installed.

于 2013-04-29T17:34:42.940 回答