Ubuntu安装scipy,numpy,pylab

1、安装依赖库:

  sudo apt-get install python python-dev libatlas-base-dev gcc gfortran g++

2、安装:

sudo apt-get install python-scipy

sudo apt-get install python-numpy

sudo apt-get install python-matplotlib

3、测试:

python

import scipy

import numpy

import pylab



你可能感兴趣的:(Ubuntu安装scipy,numpy,pylab)