python ssl

在oracle Linux上安装Python2.7.11 ,安装完后发现(网上各种解释的依赖都具备了)

Python 2.7.11 (default, Mar 19 2018, 15:19:40) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-18)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl    
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/feixiaohui/python/lib/python2.7/ssl.py", line 97, in <module>
    import _ssl             # if we can't import it, let the error propagate
ImportError: No module named _ssl
>>> exit()

但是其安装Python2.7.9就可以实现import ssl

坑!


猜你喜欢

转载自blog.csdn.net/feixiaohuijava/article/details/79612266
SSL