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_qint16 = np.dtype([(“qint16”, np.int16, 1)])
1、报错原因:numpy版本过高,使用numpy-1.16-0版本即可。
2、解决方法:重新安装numpy-1.16-0。
# 先删除
pip uninstall numpy
# 再安装
pip install numpy==1.16.0
ok!!!