Ask Your Question

Revision history [back]

To have it available in Sage, you need to use the pip from sage:

sage -pip install numba

To have it available in Sage, you need to use the pip from sage:

sage -pip install numba

EDIT:

It seems to be a bug in jit or in that script which can not add x of type array(int64, 2d, C) with trace which get transformed as an array of type array(float64, 2d, C). Replacing the line

x = np.arange(100).reshape(10, 10)

by

x = np.arange(100, dtype='float64').reshape(10, 10)

fixes it on my side.