Skip to content Skip to sidebar Skip to footer

Python Numba / Llvmlite On Debian 8 - I Can't Build Llvmlite

Im trying to install numba on a Debian 8 system as described here: http://llvmlite.pydata.org/en/latest/install/index.html (secion 2.2.3). I have installed LLVM 3.5 and it seems t

Solution 1:

To get llvm 3.6 you can add a /etc/apt/sources.list.d/llvm.list file with::

# cat /etc/apt/sources.list.d/llvm.list
   deb http://llvm.org/apt/jessie/ llvm-toolchain-jessie main
   deb-src http://llvm.org/apt/jessie/ llvm-toolchain-jessie main
   # 3.6
   deb http://llvm.org/apt/jessie/ llvm-toolchain-jessie-3.6 main
   deb-src http://llvm.org/apt/jessie/ llvm-toolchain-jessie-3.6 main

You need to add the key too::

# gpg --keyserver pgpkeys.mit.edu --recv-key 15CF4D18AF4F7421# gpg -a --export 15CF4D18AF4F7421 | apt-key add -

apt-get update and install llvm-3.6::

apt-getupdate
apt-get install cython python-llvm build-essential libedit-dev
apt-get install llvm-3.6 llvm-3.6-dev llvm-dev

Then on your virtualenv::

pip install enum34
LLVM_CONFIG=/usr/lib/llvm-3.6/bin/llvm-config pip install llvmlite
LLVM_CONFIG=/usr/lib/llvm-3.6/bin/llvm-config pip install numba

Post a Comment for "Python Numba / Llvmlite On Debian 8 - I Can't Build Llvmlite"