You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I am using numba through Anaconda, jupyter lab, with python (under system of Windows)
I could successfully install numba, but during import, the import error occurs, would you please help me with it? Thank you so much!
Below is the information:
ImportError Traceback (most recent call last)
D:\Anaconda\Install\envs\Python+R\lib\site-packages\numba\core\typeconv\typeconv.py in
3 # Numba, if it fails to import, provide some feedback
----> 4 from .core.typeconv import _typeconv
5 except ImportError as e:
ImportError: DLL load failed: 找不到指定的模块。
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
in
----> 1 from numba import njit
D:\Anaconda\Install\envs\Python+R\lib\site-packages\numba\misc\special.py in
1 import numpy as np
2
----> 3 from .core.typing.typeof import typeof
4 from .core.typing.asnumbatype import as_numba_type
5
D:\Anaconda\Install\envs\Python+R\lib\site-packages\numba\core\typing_init_.py in
----> 1 from .context import BaseContext, Context
2 from .templates import (signature, make_concrete_template, Signature,
3 fold_arguments)
D:\Anaconda\Install\envs\Python+R\lib\site-packages\numba\core\typing\context.py in
9 import numba
10 from .core import types, errors
---> 11 from .core.typeconv import Conversion, rules
12 from .core.typing import templates
13 from .typeof import typeof, Purpose
D:\Anaconda\Install\envs\Python+R\lib\site-packages\numba\core\typeconv\rules.py in
1 import itertools
----> 2 from .typeconv import TypeManager, TypeCastingRules
3 from .core import types
4
5
D:\Anaconda\Install\envs\Python+R\lib\site-packages\numba\core\typeconv\typeconv.py in
15 "possible please include the following in your error report:\n\n"
16 "sys.executable: %s\n")
---> 17 raise ImportError(msg % (url, reportme, str(e), sys.executable))
18
19 from .core.typeconv import castgraph, Conversion
ImportError: Numba could not be imported.
If you are seeing this message and are undertaking Numba development work, you may need to re-run:
I think this is a duplicate of #5600. Installing the latest Visual Studio Redistributable from Microsoft will likely resolve the issue as suggested in #5600 (comment). If the problem is not resolved, please re-open the issue.
Hi! I am using numba through Anaconda, jupyter lab, with python (under system of Windows)
I could successfully install numba, but during import, the import error occurs, would you please help me with it? Thank you so much!
Below is the information:
ImportError Traceback (most recent call last)
D:\Anaconda\Install\envs\Python+R\lib\site-packages\numba\core\typeconv\typeconv.py in
3 # Numba, if it fails to import, provide some feedback
----> 4 from .core.typeconv import _typeconv
5 except ImportError as e:
ImportError: DLL load failed: 找不到指定的模块。
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
in
----> 1 from numba import njit
D:\Anaconda\Install\envs\Python+R\lib\site-packages\numba_init_.py in
22
23 # Re-export typeof
---> 24 from numba.misc.special import (
25 typeof, prange, pndindex, gdb, gdb_breakpoint, gdb_init,
26 literally, literal_unroll,
D:\Anaconda\Install\envs\Python+R\lib\site-packages\numba\misc\special.py in
1 import numpy as np
2
----> 3 from .core.typing.typeof import typeof
4 from .core.typing.asnumbatype import as_numba_type
5
D:\Anaconda\Install\envs\Python+R\lib\site-packages\numba\core\typing_init_.py in
----> 1 from .context import BaseContext, Context
2 from .templates import (signature, make_concrete_template, Signature,
3 fold_arguments)
D:\Anaconda\Install\envs\Python+R\lib\site-packages\numba\core\typing\context.py in
9 import numba
10 from .core import types, errors
---> 11 from .core.typeconv import Conversion, rules
12 from .core.typing import templates
13 from .typeof import typeof, Purpose
D:\Anaconda\Install\envs\Python+R\lib\site-packages\numba\core\typeconv\rules.py in
1 import itertools
----> 2 from .typeconv import TypeManager, TypeCastingRules
3 from .core import types
4
5
D:\Anaconda\Install\envs\Python+R\lib\site-packages\numba\core\typeconv\typeconv.py in
15 "possible please include the following in your error report:\n\n"
16 "sys.executable: %s\n")
---> 17 raise ImportError(msg % (url, reportme, str(e), sys.executable))
18
19 from .core.typeconv import castgraph, Conversion
ImportError: Numba could not be imported.
If you are seeing this message and are undertaking Numba development work, you may need to re-run:
python setup.py build_ext --inplace
(Also, please check the development set up guide https://numba.pydata.org/numba-doc/latest/developer/contributing.html.)
If you are not working on Numba development:
Please report the error message and traceback, along with a minimal reproducer
at: https://github.com/numba/numba/issues/new
If more help is needed please feel free to speak to the Numba core developers
directly at: https://gitter.im/numba/numba
Thanks in advance for your help in improving Numba!
The original error was: 'DLL load failed: 找不到指定的模块。'
If possible please include the following in your error report:
sys.executable: D:\Anaconda\Install\envs\Python+R\python.exe
numbanumbanumbanumbanumbanumbanumbanumba
The text was updated successfully, but these errors were encountered: