问题解决记录
日期:2024年12月22日 02:50
问题描述:
在新系统中搬运旧设备的代码时,遇到了打包失败的问题。报错信息指出在Python标准库dis.py
中发生了IndexError: tuple index out of range
错误。
错误详情:
File "C:\Program Files\Python310\lib\dis.py", line 338, in _get_instructions_bytes
argval, argrepr = _get_const_info(arg, constants)
File "C:\Program Files\Python310\lib\dis.py", line 292, in _get_const_info
argval = const_list[con