ubuntu 安装scipy,numpy,matplotlib 需要安装两个版本
首先python2.7:
sudo apt-get install python-scipy
sudo apt-get install python-numpy
sudo apt-get install python-matplotlib
其次python3.4:
sudo apt-get install python3-scipy
sudo apt-get install python3-numpy
sudo apt-get install python3-matplotlib
安装swig
step1 下载安装包
http://www.swig.org/download.html
step2 解压
tar -xzcf swig-4.0.1.tar.gz
step3 开始安装
先安装g++,prce
sudo apt-get install g++
sudo apt-get install libpcre3 libpcre3-dev
step4 安装swig
进入swig-4.0.1文件夹
cd swig-4.0.1
配置和安装
./configure
make
sudo make install
添加路径
打开bashrc
vim ~/.bashrc
加入这两句话
SWIG_PATH=/usr/local/share/swig/4.0.1
PATH=$PATH: $SWIG_PATH
然后编译
source ~/.bashrc
安装cppunit
https://blog.csdn.net/ww1314510/article/details/82530314
安装fftw
首先下载安装包
http://www.fftw.org/download.html
然后解压,编译,安装
tar -xzcf fftw-3.3.8.tar.gz
进入fftw-3.3.8文件夹
cd fftw-3.3.8
配置和安装
./configure
make
sudo make install
安装fftw3
sudo apt-get install fftw3 fftw3-dev pkg-config