一般Linux系统自带python3,在终端输入
sudo apt-get install python3-numpy
检验numpy的安装
输入
python3
会显示“>>>”,说明进入了python3编程环境
再输入
from numpy import *
如果系统没有报错,说明按照成功。
同样,matplolib安装过程也一模一样,只需将numpy替换成matplotlib。
一般Linux系统自带python3,在终端输入
sudo apt-get install python3-numpy
检验numpy的安装
输入
python3
会显示“>>>”,说明进入了python3编程环境
再输入
from numpy import *
如果系统没有报错,说明按照成功。
同样,matplolib安装过程也一模一样,只需将numpy替换成matplotlib。