Numba is compatible with Python 2.7 and 3.5 or later, and Numpy versions 1.7 to 1.14.
Our supported platforms are:
The easiest way to install numba and get updates is by using Conda, a cross-platform package manager and software distribution maintained by Anaconda, Inc. You can either use Anaconda to get the full stack in one download, or Miniconda which will install the minimum packages needed to get started.
Once you have conda installed, just type:
$ conda install numba
or:
$ conda update numba
We won’t cover requirements in detail here, but you can get the bleeding-edge source code from Github:
$ git clone git://github.com/numba/numba.git
Source archives of the latest release can be found on PyPI.
You will need a C compiler corresponding to your Python installation, as well as the Numpy and llvmlite packages. See Build environment for more information.
You should be able to import Numba from the Python prompt:
$ python
Python 3.4.2 |Continuum Analytics, Inc.| (default, Oct 21 2014, 17:16:37)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numba
>>> numba.__version__
'0.16.0-82-g350c9d2'
You can also try executing the pycc utility:
$ pycc --help
usage: pycc [-h] [-o OUTPUT] [-c | --llvm] [--linker LINKER]
[--linker-args LINKER_ARGS] [--header] [--python] [-d]
inputs [inputs ...]