compiling-python-with-ssl-support问题

python-with-ssl-support的问题:

 

> python

>>> import ssl

Traceback (most recent call last):

  File "<s tdin>", line 1, in <module>

  File "/usr/local/Python-2.6.1/lib/python2.6/ssl.py", line 60, in <module>

  import _ssl         # if we can't import it, let the error propagate

ImportError: No module named _ssl

 

解决方法:

>yum install openssl-devel

你可能感兴趣的:(python,Module,ssl,File,import)