NumPy 2.0 issue: `np.NINF` was removed
Closed this issue · 4 comments
mactsouk commented
I am trying to use stumpy with NumPy 2.0 and I get the following error message:
AttributeError: np.NINF was removed in the NumPy 2.0 release. Use -np.inf instead.
The issue occurs three times in stump.py file.
Thank you!
seanlaw commented
@mactsouk Please see issue #989. This problem was fixed in PR 93ba25a and is now in the main development branch. To install the latest development version of stumpy, please try:
git clone https://github.com/TDAmeritrade/stumpy.git
cd stumpy
python -m pip install .
This new (NumPy-2.0-compatible) version will be available in PyPI/conda-forge in the coming weeks. Otherwise, try downgrading NumPy.