Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name _ext #16

Closed
twiecki opened this issue Jul 26, 2012 · 1 comment
Closed

ImportError: cannot import name _ext #16

twiecki opened this issue Jul 26, 2012 · 1 comment

Comments

@twiecki
Copy link

twiecki commented Jul 26, 2012

In [1]: import numba
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-6d1098de51de> in <module>()
----> 1 import numba

/home/whyking/tools/numba/numba/__init__.py in <module>()
      8     raise
      9 
---> 10 from . import _numba_types
     11 from ._numba_types import *
     12 

/home/whyking/tools/numba/numba/_numba_types.py in <module>()
      7 # from numpy.ctypeslib import _typecodes
      8 
----> 9 from numba import llvm_types, _ext
     10 from numba.minivect.minitypes import *
     11 from numba.minivect import miniast, minitypes

ImportError: cannot import name _ext
@twiecki
Copy link
Author

twiecki commented Jul 26, 2012

This is due to importing from the source directory. I suppose a check could be added but it doesn't seem like a big issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant