Hi, A script cannot import Numba when executed from Spyder in Run file (F5) mode. So far this is the only instance *import *fails on Spyder -- stuff such as Numpy, Scipy and mpmath are imported fine.
I get the following error messages: Traceback (most recent call last): File C:\Program Files\Python\Lib\site-packages\numba\core\typeconv\typeconv.py:4 from numba.core.typeconv import _typeconv ImportError: cannot import name '_typeconv' from 'numba.core.typeconv' (C:\Program Files\Python\Lib\site-packages\numba\core\typeconv\__init__.py) During handling of the above exception, another exception occurred: Traceback (most recent call last): Cell In[5], line 1 import numba File C:\Program Files\Python\Lib\site-packages\numba\__init__.py:73 from numba.misc.special import ( File C:\Program Files\Python\Lib\site-packages\numba\misc\special.py:3 from numba.core.typing.typeof import typeof File C:\Program Files\Python\Lib\site-packages\numba\core\typing\__init__.py:1 from .context import BaseContext, Context File C:\Program Files\Python\Lib\site-packages\numba\core\typing\context.py:11 from numba.core.typeconv import Conversion, rules File C:\Program Files\Python\Lib\site-packages\numba\core\typeconv\rules.py:2 from .typeconv import TypeManager, TypeCastingRules File C:\Program Files\Python\Lib\site-packages\numba\core\typeconv\typeconv.py:16 raise ImportError(msg) ImportError: Numba could not be imported. -------------------------------------------------------------------------------- If you are seeing this message and are undertaking Numba development work, you may need to rebuild Numba. Please see the development set up guide: https://numba.readthedocs.io/en/stable/developer/contributing.html. -------------------------------------------------------------------------------- If you are not working on Numba development, the original error was: 'cannot import name '_typeconv' from 'numba.core.typeconv' (C:\Program Files\Python\Lib\site-packages\numba\core\typeconv\__init__.py)'. For help, please visit: https://numba.readthedocs.io/en/stable/user/faq.html#numba-could-not-be-imported I wonder if this isn't an internal path problem, but don't know where and what to look for. Thanks for any help. Fausto -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/306a072c-74b3-4520-a504-1bb6aef41a8fn%40googlegroups.com.