• Scientific Computing

  • Blog
  • Tags
  • Categories

Installing Numba Python accelerator

16 July, 2019

Install Numba by:

conda install numba

or

pip install numba

Use the Numba docs for easy examples. I also have Numba benchmarking code.

Numba uses LLVMlite to JIT compile unmodified Python code.

Ensure your code is Numba accelerated with option

@jit(nopython=True)
def myfunc(...):

which will error if the code is not acceleratable.

  • python