Dear list,

I wanted to install TensorFlow/2.0.0 for foss-2019a-Python-3.7.2.

It fails during the verification:

Downloading data from https://storage.googleapis.com/tensorflow/tf-keras-datasets/mnist.npz
Traceback (most recent call last):
  File "/opt/ebsofts/Compiler/GCCcore/8.2.0/Python/3.7.2/lib/python3.7/urllib/request.py", line 1317, in do_open
    encode_chunked=req.has_header('Transfer-encoding'))
  File "/opt/ebsofts/Compiler/GCCcore/8.2.0/Python/3.7.2/lib/python3.7/http/client.py", line 1229, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/opt/ebsofts/Compiler/GCCcore/8.2.0/Python/3.7.2/lib/python3.7/http/client.py", line 1275, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/opt/ebsofts/Compiler/GCCcore/8.2.0/Python/3.7.2/lib/python3.7/http/client.py", line 1224, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/opt/ebsofts/Compiler/GCCcore/8.2.0/Python/3.7.2/lib/python3.7/http/client.py", line 1016, in _send_output
    self.send(msg)
  File "/opt/ebsofts/Compiler/GCCcore/8.2.0/Python/3.7.2/lib/python3.7/http/client.py", line 956, in send
    self.connect()
  File "/opt/ebsofts/Compiler/GCCcore/8.2.0/Python/3.7.2/lib/python3.7/http/client.py", line 1392, in connect
    server_hostname=server_hostname)
  File "/opt/ebsofts/Compiler/GCCcore/8.2.0/Python/3.7.2/lib/python3.7/ssl.py", line 412, in wrap_socket
    session=session
  File "/opt/ebsofts/Compiler/GCCcore/8.2.0/Python/3.7.2/lib/python3.7/ssl.py", line 853, in _create
    self.do_handshake()
  File "/opt/ebsofts/Compiler/GCCcore/8.2.0/Python/3.7.2/lib/python3.7/ssl.py", line 1117, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)

As far as I guess, Python 3.7.2 is installed without SSL certificates populated. Is this correct? And if yes, how I'm supposed to install them?

Best

--

Logo UNIGE      Yann Sagon
Référent HPC

Division du système et des technologies de l'information et de la communication
Université de Genève | 24 rue Général-Dufour
Tél 022 379 77 37 | Bureau 151

www.unige.ch/stic <http://www.unige.ch/stic>

Reply via email to