libigl-python-bindings icon indicating copy to clipboard operation
libigl-python-bindings copied to clipboard

python setup.py develop tries (and fails) to build scipy from source

Open alecjacobson opened this issue 4 years ago • 1 comments

I didn't originally have scipy installed. The python setup.py develop seemed to attempt to download and build scipy from source leading to all sorts of missing dependency and compilation errors. This is easily avoided by first installing scipy (and the documentation could be improved on that via #126). Meanwhile, why does the script try to build scipy? Is that for the conda deployment?

alecjacobson avatar Feb 25 '22 23:02 alecjacobson

it shouldn't, i think it is a pybind11 thing with sparse matrices. I agree scipy should be installed before

teseoch avatar Feb 26 '22 00:02 teseoch

This should now be solved by pip install ./ (via pyproject.toml). I'm not 100% sure that's working and working well for setup.py develop but I'm guessing this issue is related to conda messiness.

alecjacobson avatar Feb 06 '23 00:02 alecjacobson