Open sanyukta13 opened 7 months ago
This is a result of the recent merge of the make-pip-installable branch, which adds compilation of C++ code (though for the uproot backend, this doesn't do anything interesting yet). You seem to not have a C++ compiler on your system, or at least cmake can't find it (but how do you have cmake available without a C++ compiler... unless perhaps scikit-build includes it?).
We could try to support the case of not having a C++ compiler, but I don't know how to do that with the current python build system (maybe @sjoerd-bouma does?), and it will eventually lead to a relatively large loss of functionality.
Ah : / yes, scikit-build-core automatically installs cmake at build time, though I had hoped it would figure out compilation as well... I'm guessing numpy/scipy etc get around this by providing wheels for all platforms and python versions? Which is unfortunately not an option for us.
@sanyukta13 - I think you are on a Mac, in which case try running
xcode-select --install
from the terminal, which I hope should install the required compilers.
@cozzyd - I'm not sure how much value there is in supporting the pure python version of mattak... right now it would be okay, but as you mention at some point the functionality will diverge, in which case I'd probably prefer to raise an installation error by default rather than quietly defaulting to the python only version. We should however probably add this information to the documentation and/or figure out how to raise a more helpful error message?
I guess this is still open?
@sjoerd-bouma can we close this?
I get this error when I try to install mattak using
pip install git+https://github.com/RNO-G/mattak
This piece of install was working perfectly fine before a few hours ago.