Build issue for pygsl
Mac OS Monterey 12.2.1 x86_64, conda 4.14.0, python 3.10.6
I am using pip inside a conda environment created following the lalsuite-dev environment provided in lalsuite/conda/environment.yml (hence the path to pip executable).
When trying:
/Users/marsat/miniconda3/envs/lalsuite-dev/bin/pip install .
I had an error message of the type:
subprocess.CalledProcessError: Command '['swig', '-I/Users/marsat/miniconda3/envs/lalsuite-dev/include', '-xml', '/private/tmp/pip-install-fixdys64/pygsl_fd7b4291401d49e18557c64a624877b0/testing/src/sf/sf.i']' returned non-zero exit status 1.
Building pygsl from source lead to the same problem.
Doing instead:
/Users/marsat/miniconda3/envs/lalsuite-dev/bin/pip install git+https://github.com/pygsl/pygsl
Seems to have fixed the issue, the rest of the pip installation proceeds.
See the related issue in pygsl: