Closed TheBobby closed 3 years ago
Just to let you know
When importing eval_linear from splines : from interpolation.splines import eval_linear an ImportError is raised:
from interpolation.splines import eval_linear
ImportError: cannot import name 'jitclass' from 'numba' (/usr/local/lib/python3.7/site-packages/numba/init.py)
I learned from the numba github that jitclass has been moved to numba.experimental : https://github.com/numba/numba/issues/4638
Changing the corresponding line (line 3 in __init__.py) to from numba.experimental import jitclass fixed it for me.
__init__.py
from numba.experimental import jitclass
Thanks!
Thank you, @TheBobby . Actually, jitclass is not used in the code anymore. Bug was fixed a while ago in master. I"m updating the packages on pypi and conda-forge
This is now fixed in master and released.
Just to let you know
When importing eval_linear from splines :
from interpolation.splines import eval_linear
an ImportError is raised:I learned from the numba github that jitclass has been moved to numba.experimental : https://github.com/numba/numba/issues/4638
Changing the corresponding line (line 3 in
__init__.py
) tofrom numba.experimental import jitclass
fixed it for me.Thanks!