np.float_ is deprecated in the NumPy 2.0 release.
Importing minterpy raises the following exception:
AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
due to the deprecation of np.float_
in the most recent NumPy release.
Because Minterpy specifies the NumPy requirement as numpy>=1.13.3
, installing Minterpy from scratch may pull the latest release of NumPy.
Either limit the NumPy version or (better) replace np.float_
with np.float64
as suggested and then verify if nothing else breaks.
Edited by Damar Wicaksono