Closed odulcy-mindee closed 1 month ago
cc @Anson-Doan, @anhaidgroup
I've been recently seeing this issue in my automated builds. Trying to install both numpy and py_stringmatching at the same time fails with this error.
python -m pip install numpy==1.26.2 py_stringmatching==0.4.5
My temporary fix is to do the following:
python -m pip install numpy==1.26.2
python -m pip install --global-option=build_ext --global-option="-I$(python -c 'import numpy;print(numpy.get_include())')" py_stringmatching==0.4.5
This doesn't seem to be an issue in some other environments not building from scratch, but I'm assuming that's b/c numpy is already installed or the required includes present (pip install after pip uninstall worked in those cases).
EDIT
I just tried this again, omitting the extra build arguments.
python -m pip install numpy==1.26.2 py_stringmatching==0.4.5 # <-- FAILS
python -m pip install numpy==1.26.2
python -m pip install py_stringmatching==0.4.5 # <-- SUCCEEDS
Hi,
There was a numpy release today. Problem is that it's now impossible to compile
py_stringmatching
.You can reproduce this problem using the following steps:
It will fail with the following error: