Skip to content

Error with numpy 2.0.2

I recently installed scikit-fdiff in a fresh virtual environment using:

pip install scikit-fdiff[interactive,numba]

When I tried to run the example 2D_acoustic_case from the documentation, I get the following error:

AttributeError: current backend numpy lack of routine to compute the jacobian matrix. Only explicite scheme will be working.

I downgraded numpy from 2.0.2 to 1.26.4 and that did the trick.

Thanks for your great work.