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
时间: 2024-11-02 17:48:37