Dear Todd,

I was having a similar problem when trying to install a package (I think it was 
PyTorch) with Python 3 as a dependency. It seems to come from using an OpenSSL 
installed with EB (in our case it was 1.1.1d) which only has an empty path 
where the certificates are located.


I was able to reproduce the error with the attached script. If it prints 
something like this

OpenSSL 1.1.1d  10 Sep 2019
cafile= None
the SSL in Python is not finding any certificates.


To solve the issue, find the certificates on your system and modify the command

$ export SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt

accordingly.


Best wishes

Stefan





--

Scientific Computing

Carl von Ossietzky University Oldenburg
School of Mathematics and Natural Sciences
26111 Oldenburg, Germany

Office: W03 1-139
Phone: +49-441-798 3147
E-Mail: [email protected]

www: http://www.uni-oldenburg.de/fk5/wr

________________________________
From: [email protected] <[email protected]> on 
behalf of Heywood, Todd <[email protected]>
Sent: Thursday, July 9, 2020 3:33:19 PM
To: [email protected]
Subject: Re: [easybuild] [ANN] EasyBuild v4.2.2

Hi,

When I do "eb --install-latest-eb-release", I get this error (with Python 3.7):

ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate 
verify failed: unable to get local issuer certificate (_ssl.c:1076)

Googling the error isn't helping much, so... has anyone else seen this? Ideas?

Thanks,

Todd

-----Original Message-----
From: <[email protected]> on behalf of Kenneth Hoste 
<[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Wednesday, July 8, 2020 at 10:00 AM
To: "[email protected]" <[email protected]>
Subject: [easybuild] [ANN] EasyBuild v4.2.2

    Dear EasyBuilders,

    EasyBuild v4.2.2 has just been released [1], just in time to pack it for
    your summer holidays (even if you're only going to Ton Jardin or Saint
    Maison)...

    To quote Adam Huffman (EasyBuild maintainer): "This is the most bestest
    release so far!"

    One specific reason for this is that EasyBuild now supports **over 2,000
    different software packages** (without taking into account different
    software versions, compiler toolchains, and not including software that
    is only installed as an extension).

    Thanks to everyone who has contributed to this!
    (except for bioinformaticians who keep producing new software, please
    stop, enough is enough)


    EasyBuild v4.2.2 is primarily a bugfix release, but also includes
    various small enhancements and updates.

    Highlights of the changes in this release include:

    * support for using 'sources' (incl. 'git_config') for instaling extensions;

    * fix running command as 'easybuild' user in generated Singularity
    definition file (container support is still experimental);

    * avoid that list of paths used to generate prepend_path statements in
    generated module file are sorted alphabetically (doh!)
       - this affects recent impi installations for example, please check
    whether you should re-generate the module file if you have recently
    installed impi!

    * fix using template values in extensions + also take build dependencies
    into account to define template values like %(pyshortver)s;

    * 3 new software-specific easyblocks, for LLVM, Scipion, and XALT;

    * rename include-fixed subdirectory in GCC installation to avoid
    problems after OS upgrade (and fix Bazel & TensorFlow easyblocks
    accordingly)
       - this was motivated by GCC 8.3.0 or 9.3.0 installations breaking
    after updating from CentOS 8.1 to 8.2;

    * only build OpenCV with IPP support on x86_64 systems;

    * enhancements & bug fixes in IntelBase and PythonBundle generic easyblocks;

    * updates, enhancements & bug fixes in software-specific easyblocks for
    DOLFIN, impi, Mathematica, LAMMPS, Lua, OpenFOAM, Trilinos, VMD, WRF;

    * added support for 36 new software packages, incl. arrow (R package),
    AmrPlusPlus, dotNET-SDK, FLAIR, MARS, Percolator, Tombo, XALT, Xvfb, etc.;

    * updates for already supported software, incl. BLAST+ 2.10.1, Bonito
    0.2.0, CGAL 4.14.3, dask 2.18.1, GATE 9.0, Geant4 10.6, HDF5 1.12.0,
    Hadoop 2.10.0, IPython 7.15.0, MRtrix 3.0.0, MultiQC 1.9, numba 0.50.0,
    OpenFOAM v2006, ParaView 5.8.0, PyQt5 5.13.2, ROOT 6.20.04, ReFrame 3.0,
    Roary 3.13.0, Spark 2.4.5, Valgrind 3.16.1, ...;

    * add additional extensions for recent versions of Perl, R, and
    R-bundle-Bioconductor;

    * add patch for h5py 2.10.0 to avoid triggering MPI_Init at import;

    * remove hardcoded X86 target in LLVM easyconfigs;

    * fix checksum issues in easyconfigs for R 3.6.0;

    * bump versions of GO.gb/org.Hs.eg.db/PFAM.db extensions in
    R-bundle-Bioconductor 3.11 easyconfig, since sources for old versions
    have disappeared;

    * define MAX_JOBS in easyconfigs of PyTorch from v1.1.0 to v1.4.0 to
    avoid 'oversubscribing' of available cores;

    * update easyconfigs for software that was downloaded from a Mercurial
    repository hosted on Bitbucket to download from new location instead
    (where possible), incl. Eigen, MetaPhlAn, ScientificPython, HPDBSCAN, ;

    * various additional updates, enhancements & bug fixes;


    This brings the total number of supported software packages to 2,013!
    An up-to-date list of supported software is available at [2].


    A detailed overview of all changes, which links to the respective pull
    requests, is available in the release notes at [3].


    These changes result from various contributions, made by 30 different
    contributors:

    * 16 merged pull requests for EasyBuild framework
    * 22 merged pull requests for easyblocks
    * 222 merged pull requests for easyconfigs

    Thanks to everyone who contributed to this release in one way or another!


    To upgrade to EasyBuild v4.2.2, there are several options [4].
    Two particularly easy options include:

          * eb --install-latest-eb-release

          * eb --from-pr 10939          # use easyconfig from PR #10939 [5]


    Enjoy!


    regards,

    Kenneth & Miguel


    [1] 
https://urldefense.proofpoint.com/v2/url?u=https-3A__pypi.org_project_easybuild_4.2.2&d=DwIDaQ&c=mkpgQs82XaCKIwNV8b32dmVOmERqJe4bBOtF0CetP9Y&r=gDELKgclq4cQfVJi0jTOUg&m=PTTOiHUMBxU2UI0CvWov_6No6nJPWWeHV3nq5Q4HEIM&s=efhP0YqRo5YrD-qpyLGf4BgMRk2hpMxOLXj2lBiw_SY&e=
    [2]
    
https://urldefense.proofpoint.com/v2/url?u=https-3A__easybuild.readthedocs.io_en_latest_version-2Dspecific_Supported-5Fsoftware.html&d=DwIDaQ&c=mkpgQs82XaCKIwNV8b32dmVOmERqJe4bBOtF0CetP9Y&r=gDELKgclq4cQfVJi0jTOUg&m=PTTOiHUMBxU2UI0CvWov_6No6nJPWWeHV3nq5Q4HEIM&s=NPYyTM2k2K371G5Wtbfea9PKv8u1TuanBRtBB9lt8D4&e=
    [3]
    
https://urldefense.proofpoint.com/v2/url?u=https-3A__easybuild.readthedocs.io_en_latest_Release-5Fnotes.html-23easybuild-2Dv4-2D2-2D2-2Djuly-2D8th-2D2020&d=DwIDaQ&c=mkpgQs82XaCKIwNV8b32dmVOmERqJe4bBOtF0CetP9Y&r=gDELKgclq4cQfVJi0jTOUg&m=PTTOiHUMBxU2UI0CvWov_6No6nJPWWeHV3nq5Q4HEIM&s=MhU9wBQbOJwKHLgFyvH0Y6yjg4GRlwFKflg-jebGFZI&e=
    [4]
    
https://urldefense.proofpoint.com/v2/url?u=https-3A__easybuild.readthedocs.io_en_latest_Installation.html-23updating-2Dan-2Dexisting-2Deasybuild-2Dinstallation&d=DwIDaQ&c=mkpgQs82XaCKIwNV8b32dmVOmERqJe4bBOtF0CetP9Y&r=gDELKgclq4cQfVJi0jTOUg&m=PTTOiHUMBxU2UI0CvWov_6No6nJPWWeHV3nq5Q4HEIM&s=TxBOXdnNXQ2CudQWB7ghaRUiT_V_xB9SRru-Ly7ul5c&e=
    [5] 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_easybuilders_easybuild-2Deasyconfigs_pull_10939_files&d=DwIDaQ&c=mkpgQs82XaCKIwNV8b32dmVOmERqJe4bBOtF0CetP9Y&r=gDELKgclq4cQfVJi0jTOUg&m=PTTOiHUMBxU2UI0CvWov_6No6nJPWWeHV3nq5Q4HEIM&s=nKuoi2y78nbcoPt48dqnm4PuT3enLBvtHysy67aaEJU&e=


Attachment: ssl_test.py
Description: ssl_test.py

Reply via email to