Install Python Numba

· Read in about 1 min · (81 Words)

Official site: http://numba.pydata.org/

Easiest way

conda install numba

Manually

Install llvm

Attention: You must have a LLVM 3.6 build (libraries and header files) available somewhere.

Therefore, download Pre-Built Binaries of version 3.6.2 and copy them to /usr/local/ and sudo ldconfig

Install llvmlite

git clone https://github.com/numba/llvmlite
cd llvmlite
su
export LLVM_CONFIG=/usr/local/bin/llvm-config;  python setup.py install

If compilation failed, you may need install some other packages:

sudo dnf install libstdc++* libedit* zlib*
sudo pip install enum34 funcsigs singledispatch

Install numba

sudo pip install numba