1、首先安装numpy库存,使用pip install numpy命令即可(python3的话使用pip3 install numpy命令),安装后,进入python环境,如下当import numpy无报错时候,表示安装成功