Hello! I'm trying to install ligo.skymap with pip, however, I get errors on the stage of building wheels for collected packages: ligo-segments, python-ligo-lw, lscsoft-glue. I tried the solutions described in similar situations, but it didn't work.
Could you please help me to solve it?
Here is my Terminal output (sorry if it's too long):
Building wheels for collected packages: ligo-segments, python-ligo-lw, lscsoft-glue
Building wheel for ligo-segments (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [19 lines of output]
/usr/local/lib/python3.8/site-packages/setuptools/dist.py:286: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420).
warnings.warn(msg, SetuptoolsDeprecationWarning)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.15-x86_64-cpython-38
creating build/lib.macosx-10.15-x86_64-cpython-38/ligo
copying ligo/init.py -> build/lib.macosx-10.15-x86_64-cpython-38/ligo
creating build/lib.macosx-10.15-x86_64-cpython-38/ligo/segments
copying ligo/segments/init.py -> build/lib.macosx-10.15-x86_64-cpython-38/ligo/segments
copying ligo/segments/utils.py -> build/lib.macosx-10.15-x86_64-cpython-38/ligo/segments
running build_ext
building 'ligo.segments.__segments' extension
creating build/temp.macosx-10.15-x86_64-cpython-38
creating build/temp.macosx-10.15-x86_64-cpython-38/src
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Isrc -I/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c src/infinity.c -o build/temp.macosx-10.15-x86_64-cpython-38/src/infinity.o
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ligo-segments
Running setup.py clean for ligo-segments
Building wheel for python-ligo-lw (setup.py) ... error
error: subprocess-exited-with-error
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for python-ligo-lw
Running setup.py clean for python-ligo-lw
Building wheel for lscsoft-glue (pyproject.toml) ... error
error: subprocess-exited-with-error
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for lscsoft-glue
Failed to build ligo-segments python-ligo-lw lscsoft-glue
ERROR: Could not build wheels for lscsoft-glue, which is required to install pyproject.toml-based projects
Hello! I'm trying to install ligo.skymap with pip, however, I get errors on the stage of building wheels for collected packages: ligo-segments, python-ligo-lw, lscsoft-glue. I tried the solutions described in similar situations, but it didn't work. Could you please help me to solve it?
Here is my Terminal output (sorry if it's too long):