我在Ubuntu 14.04上,我的numba 0.15正常工作.
我跑了:
pip install --user --upgrade numba
升级到numba 0.16但现在当我尝试导入numba时出现以下错误:
~/.local/lib/python2.7/site-packages/numba/__init__.py in ()
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 ()
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 ()
1 from __future__ import print_function, division, absolute_import
2
----> 3 from . import cpu
4