【发布时间】:2013-04-30 01:34:42
【问题描述】:
我收到一个错误,因为 ssl 模块不可用
如果我从 python 解释器运行help('modules'),它会在此处列出
当我尝试从解释器中导入它时,我得到了
>>> 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
【问题讨论】:
-
看起来这篇文章有你的答案:stackoverflow.com/questions/5128845/…
-
啊,很惊讶我的搜索没有找到那个。我会在那里尝试解决方案
标签: python