django urllib HTTPS请求:<urlopen error =“”unknown =“”url =“”type:=“”https =“”>

时间:2017-06-25 21:18:49

标签: python django

使用urllib时出错

python 2.6 django 1.4.1

当我使用python

> import ssl

获取

    Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/xxx/lib/python2.6/ssl.py", line 60, in <module>
    import _ssl             # if we can't import it, let the error propagate
ImportError: libssl.so.6: cannot open shared object file: No such file or directory

我安装了openssl

openssl version -v
OpenSSL 1.0.1e-fips 11 Feb 2013

0 个答案:

没有答案