在python运行时出现numba.core.errors.UnsupportedError: Failed in object mode pipeline (step: analyzing bytecode)错误:
是因为在用@jit(nopython=True)装饰一个函数的时候,这个函数还调用其他两个函数,这时候在调用其他函数的地方会报错。究其原因是因为在调用的函数中使用了print输出语句,导致该错误,将print语句删除了之后就没有出现错误了。
关于 numba.core.errors.UnsupportedError: Failed in object mode pipeline (step: analyzing bytecode)
最新推荐文章于 2024-06-05 07:45:00 发布