Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Install Numba on Debian

25 views
Skip to first unread message

Dave Farrance

unread,
Jan 23, 2016, 2:53:43 PM1/23/16
to
I'd like to install Numba on Debian Jessie to work with the system
Python 2.7.9 (rather than installing Anaconda).

When I follow the instructions at
https://github.com/numba/numba#custom-python-environments

...I get errors when trying to install Numba either with the git clone
method or installing it with pip.

I'll put the error log on Pastebin since its so large:
http://pastebin.com/gbrj0iHw

I've Googled for recipes for installing numba on Debian, installed every
Debian package suggested as a possible dependency, and still no luck.

Anybody know a working method for installing Numba on Debian Jessie
without Anaconda?

Dave Farrance

unread,
Jan 23, 2016, 4:01:15 PM1/23/16
to
Dave Farrance <d...@see.replyto.invalid> wrote:

>I'd like to install Numba on Debian Jessie to work with the system
>Python 2.7.9 (rather than installing Anaconda).

OK, never mind. Fixed.

By Googling the first error code, finding a suggested fix for that,
running again, Googling the new error, and several repeats of that, and
I've now got a working solution.

This recipe that somebody put on Github overcomes the main hurdle:
https://gist.github.com/sshillo/62955e46cb05e2b47ad3

The main issue seems to be that contrary to the instructions on the
Numba website, it's now a requirement to have LLVM 3.6 installed, not
LLVM 3.5 which is in the Debian repository, and not LLVM 3.7 which is
the latest release at llvm.org. Fortunately, a prebuilt LLVM 3.6 is
available at llvm.org.

Also I needed to install this lot from the Debian repository:

python-pip python-setuptools build-essential
python-enum34 libedit-dev python-dev
0 new messages