Incompatibility between interpolation and numba packages

I have an Incompatibility between interpolation and numba packages.

import interpolation leads to
from .fungen import (

File “C:\Users\ks0063\AppData\Roaming\Python\Python39\site-packages\interpolation\multilinear\fungen.py”, line 4, in
from numba import generated_jit, njit

ImportError: cannot import name ‘generated_jit’ from ‘numba’ (C:\Users\ks0063\AppData\Roaming\Python\Python39\site-packages\numba_init_.py)

  1. The version of numba is
    print(numba.version)
    0.59.0
    and from numba import njit works. the issue is with generated_jit. It seems that this module is no longer available. Deprecation of generated_jit

Thanks @Kirill_Shakhnov for opening this discussion.

I had a closer look at the interpolations package and you’re right as of numba>=0.59 the package currently won’t work as the generated_jit function was removed in that version. For the time being the best way to fix this is use a version of numba < 0.59

We will work with interpolations package developers to get this updated.

For tracking you can keep an eye on: