hashdist / hashstack

Collection of software profiles for HashDist
https://hashdist.github.io/
51 stars 60 forks source link

urllib failed to download (reason: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed #957

Open bin-mech opened 8 years ago

bin-mech commented 8 years ago

How to fix following issue, thank you very much ! Downloading https://github.com/xianyi/OpenBLAS/archive/v0.2.13.tar.gz... [ERROR] urllib failed to download (reason: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)): https://github.com/xianyi/OpenBLAS/archive/v0.2.13.tar.gz Downloading https://github.com/xianyi/OpenBLAS/archive/v0.2.13.tar.gz... [ERROR] urllib failed to download (reason: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)): https://github.com/xianyi/OpenBLAS/archive/v0.2.13.tar.gz Downloading https://github.com/xianyi/OpenBLAS/archive/v0.2.13.tar.gz... [ERROR] urllib failed to download (reason: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)): https://github.com/xianyi/OpenBLAS/archive/v0.2.13.tar.gz [CRITICAL] You may wish to check your Internet connection or the remote server

vbraun commented 8 years ago

Which operating system?

bin-mech commented 8 years ago

ubuntu 14.04

bin-mech commented 8 years ago

export SSL_CERT_DIR=/etc/ssl/certs seems solving my problem.

certik commented 8 years ago

@bin-mech the other option is to use this PR: https://github.com/hashdist/hashdist/pull/344, and the new -N option that it implements.