写的程序运行不了,最终发现问题为numpy版本太低导致。重新pip一下就好了 pip install numpy --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple