Код: Выделить всё
import scipy.special as sp
from numba import jit
@jit(nopython=True)
def Grh_gtr(J2,t1,t2):
t = t1-t2
if t == 0:
return -1j/2
else:
return (sp.jv(1,J2*t)-1j*sp.struve(1,J2*t))/(2j*J2*t)
Код: Выделить всё
TypingError: Failed in nopython mode pipeline (step: nopython frontend)
No implementation of function Function() found for signature:
>>> jv(Literal[int](1), int64)
Код: Выделить всё
ERROR: Failed building wheel for numba-special
Running setup.py clean for numba-special
Failed to build numba-special
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (numba-special)
Подробнее здесь: https://stackoverflow.com/questions/791 ... py-special