After installing numba successfully on jetson Xavier NX
I am adding two arrays with numba and having the following issue:
File “/home/siddhant/c4aarch64_installer/lib/python3.7/site-packages/numba/npyufunc/decorators.py”, line 120, in wrap
vec.add(sig)
File “/home/siddhant/c4aarch64_installer/lib/python3.7/site-packages/numba/npyufunc/dufunc.py”, line 163, in add
return self._compile_for_argtys(args, return_type)
File “/home/siddhant/c4aarch64_installer/lib/python3.7/site-packages/numba/npyufunc/dufunc.py”, line 209, in _compile_for_argtys
self._dispatcher, self.targetoptions, sig)
File “/home/siddhant/c4aarch64_installer/lib/python3.7/site-packages/numba/npyufunc/ufuncbuilder.py”, line 146, in _compile_element_wise_function
cres = nb_func.compile(sig, **targetoptions)
File “/home/siddhant/c4aarch64_installer/lib/python3.7/site-packages/numba/npyufunc/ufuncbuilder.py”, line 95, in compile
return self._compile_core(sig, flags, locals)
File “/home/siddhant/c4aarch64_installer/lib/python3.7/site-packages/numba/npyufunc/ufuncbuilder.py”, line 130, in _compile_core
flags=flags, locals=locals)
File “/home/siddhant/c4aarch64_installer/lib/python3.7/site-packages/numba/compiler.py”, line 550, in compile_extra
args, return_type, flags, locals)
File “/home/siddhant/c4aarch64_installer/lib/python3.7/site-packages/numba/compiler.py”, line 280, in init
typingctx.refresh()
File “/home/siddhant/c4aarch64_installer/lib/python3.7/site-packages/numba/typing/context.py”, line 160, in refresh
self._load_builtins()
File “/home/siddhant/c4aarch64_installer/lib/python3.7/site-packages/numba/typing/context.py”, line 400, in _load_builtins
from . import ctypes_utils, bufproto # noqa: F401
File “/home/siddhant/c4aarch64_installer/lib/python3.7/site-packages/numba/typing/bufproto.py”, line 22, in
array.array: types.PyArray,
AttributeError: module ‘array’ has no attribute ‘array’