img2table icon indicating copy to clipboard operation
img2table copied to clipboard

Use of unsupported NumPy function 'numpy.average' or unsupported use of the function.

Open linfengca opened this issue 1 year ago • 0 comments

请教大神, 这个报错怎么解决呢?

File "D:\Users\lfchen\anaconda3\lib\site-packages\numba\core\compiler.py", line 395, in _compile_core raise e File "D:\Users\lfchen\anaconda3\lib\site-packages\numba\core\compiler.py", line 386, in _compile_core pm.run(self.state) File "D:\Users\lfchen\anaconda3\lib\site-packages\numba\core\compiler_machinery.py", line 339, in run raise patched_exception File "D:\Users\lfchen\anaconda3\lib\site-packages\numba\core\compiler_machinery.py", line 330, in run self._runPass(idx, pass_inst, state) File "D:\Users\lfchen\anaconda3\lib\site-packages\numba\core\compiler_lock.py", line 35, in _acquire_compile_lock return func(*args, **kwargs) File "D:\Users\lfchen\anaconda3\lib\site-packages\numba\core\compiler_machinery.py", line 289, in _runPass mutated |= check(pss.run_pass, internal_state) File "D:\Users\lfchen\anaconda3\lib\site-packages\numba\core\compiler_machinery.py", line 262, in check mangled = func(compiler_state) File "D:\Users\lfchen\anaconda3\lib\site-packages\numba\core\typed_passes.py", line 104, in run_pass typemap, return_type, calltypes, errs = type_inference_stage( File "D:\Users\lfchen\anaconda3\lib\site-packages\numba\core\typed_passes.py", line 82, in type_inference_stage errs = infer.propagate(raise_errors=raise_errors) File "D:\Users\lfchen\anaconda3\lib\site-packages\numba\core\typeinfer.py", line 1071, in propagate raise errors[0] numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend) Use of unsupported NumPy function 'numpy.average' or unsupported use of the function.

linfengca avatar Apr 22 '24 08:04 linfengca