Howdy Yann,
If this is on CentOS/RHEL6 or another older
distribution with old OpenSSL then you need to
uncomment the OpenSSL line in the Python-3
easyconfig (and rebuild).
Check the "configure_step" in EBROOTPYTHON/easybuild/*.log
too make sure it picked up SSL.
Jack Perdue
Lead Systems Administrator
High Performance Research Computing
TAMU Division of Research
[email protected] http://hprc.tamu.edu
HPRC Helpdesk: [email protected]
On 11/12/19 9:14 AM, Yann Sagon wrote:
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
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.unige.ch_stic&d=DwMDaQ&c=u6LDEWzohnDQ01ySGnxMzg&r=UD4dX5dD4ItxaMGNLHFVyZf3g4OzoqMFXPVmX0_OlZo&m=a75KsrL4C-xGKNPgecddKh2LylqigCdiDnXPy3rkXKs&s=tzaoJpnqgMqmPOOy7ewEioQmNhcNVazLdlIIG42z_Dg&e=>