错误描述:
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'._np_quint8 = np.dtype([("quint8", np.uint8, 1)])
解决方法:
错误链接的地方点进去,按照提示修改
例如:
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
改成:
_np_qint32 = np.dtype([("qint32", np.int32, (1,))])
保存后重新运行