Dear Max,
On 25 Jun 2019, at 13:33, Heldman, Max <heldmanm@bu.edu> wrote:
Hi,
I’m trying to install firedrake but I’m getting the following error message:
[...]
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "firedrake-install", line 1196, in <module> install("petsc/") File "firedrake-install", line 670, in install build_and_install_petsc() File "firedrake-install", line 756, in build_and_install_petsc urllib.request.urlretrieve(url, filename=tarball) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 247, in urlretrieve with contextlib.closing(urlopen(url, data)) as fp: File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 525, in open response = self._open(req, data) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 543, in _open '_open', req) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 1360, in https_open context=self._context, check_hostname=self._check_hostname) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 1319, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>
This looks like Python doesn't know about the necessary SSL certificates. Does it help do run: "pip install certifi" first? You can test that things are working (before running firedrake-install again) by doing: python -c 'import urllib.request; urllib.request.urlretrieve("https://bitbucket.org/eigen/eigen/get/3.3.3.tar.gz")' Thanks, Lawrence