urllib.error.URLError:

后端 未结 4 1346
-上瘾入骨i
-上瘾入骨i 2020-11-29 12:09

(Python 3.4.2) I\'ve got a weird error when I run \'urllib.request.urlopen(url)\' inside of a script. If I run it directly in the Python interpreter, it works fine, but not

4条回答
  •  孤城傲影
    2020-11-29 13:08

    may due to openssl-devel if you do not install it.

    yum list installed|grep openssl
    

    install it and try again after make.

    sudo yum install openssl-devel
    ./configure
    make
    

提交回复
热议问题