I'm on Ubuntu 14.04 and I had numba 0.15 working fine.
I ran:
pip install --user --upgrade numba
to upgrade to numba 0.16 but now when I try to import numba I get the following error:
~/.local/lib/python2.7/site-packages/numba/__init__.py in <module>()
4 from __future__ import print_function, division, absolute_import
5 import re
----> 6 from . import testing, decorators
7 from ._version import get_versions
8 from . import special, types, config
~/.local/lib/python2.7/site-packages/numba/decorators.py in <module>()
5 import warnings
6 from . import sigutils
----> 7 from .targets import registry
8
9 # -----------------------------------------------------------------------------
~/.local/lib/python2.7/site-packages/numba/targets/registry.py in <module>()
1 from __future__ import print_function, division, absolute_import
2
----> 3 from . import cpu
4 from .descriptors import TargetDescriptor
5 from .. import dispatcher, utils, typing
~/.local/lib/python2.7/site-packages/numba/targets/cpu.py in <module>()
3 import sys
4
----> 5 import llvmlite.llvmpy.core as lc
6 import llvmlite.llvmpy.ee as le
7 import llvmlite.binding as ll
ImportError: No module named llvmlite.llvmpy.core
This is very strange especially since I found this:
Q: Do I need to remove or update llvmpy?
A: No, Numba no longer uses llvmpy at all.
from here: https://groups.google.com/a/continuum.io/forum/#!topic/numba-users/cGKF7MORo7o
any ideas?