ubuntu 下 python numpy,scipy,matplotlib安装
来源:互联网 发布:国立清华大学 知乎 编辑:程序博客网 时间:2024/05/21 09:58
Ubuntu 12.04 STL安装numpy、scipy和matplotlib安装
一.获取、安装numpy和scipy:
1.安装git:
sudo apt-get install git
2.安装Python-dev 和easy_install
sudo apt-get install python-dev python-setuptools
sudo easy_install http://cheeseshop.python.org/packages/source/p/pyparsing/pyparsing-2.0.1.tar.gz
sudo apt-get install g++
4.安装libatlas-base-dev(科学计算库):
sudo apt-get install libatlas-base-dev
5.安装gfortran(fortran编译器):
sudo apt-get install gfortran
6.获取NumPy:
git clone git://github.com/numpy/numpy.git numpy
7.获取SciPy:
git clone git://github.com/scipy/scipy.git scipy
8.获取:matplotlib
sudo apt-get install python-matplotlib
9、获取:cython 0.17或以上版本
下载 http://cython.org/release/Cython-0.19.1.tar.gz
tar xzvf Cython-0.19.1.tar.gz
cd Cython-0.19.1
或者直接 easy_install cython
10、byparsing 安装
easy_install byparsing
或 easy_install http://cheeseshop.python.org/packages/source/p/pyparsing/pyparsing-2.0.1.tar.gz
11、libpng安装
sudo apt-get install libpng12-dev
export BLAS=/usr/lib/libblas/libblas.so
export LAPACK=/usr/lib/lapack/liblapack.so
export ATLAS=/usr/lib/atlas-base/libatlas.so
13、编译、安装scipy:
cd进scipy的目录,执行:
1):python setup.py build --fcompiler=gnu95
2):sudo python setup.py install --prefix=/usr/local
14、编译、安装numpy:
cd进numpy的目录,执行:
1):python setup.py build --fcompiler=gnu95
2):sudo python setup.py install --prefix=/usr/local
15、.获取、安装matplotlib:
1.安装libfreetype6-dev:
sudo apt-get install libfreetype6-dev
2.下载源码:(matplotlib-1.2.0.tar.gz)
https://github.com/matplotlib/matplotlib/downloads
3.cd进matplotlib目录,执行:
1):python setup.py build
2):sudo python setup.py install
- ubuntu 下 python numpy,scipy,matplotlib安装
- Ubuntu环境下完美安装python模块numpy,scipy,matplotlib
- Ubuntu环境下 安装python工具包numpy,scipy,matplotlib
- Python: Ubuntu 安装numpy,scipy,matplotlib
- Python:Ubuntu安装numpy,scipy,matplotlib
- Python: Ubuntu 安装numpy,scipy,matplotlib
- Ubuntu-Python安装 scipy,numpy,matplotlib
- python下安装numpy、matplotlib、scipy过程
- windows下python,numpy,scipy,matplotlib安装
- win64下安装python、numpy、scipy、matplotlib
- Ubuntu安装numpy,scipy,matplotlib
- Ubuntu 安装numpy,scipy,matplotlib
- python:安装numpy, Scipy,Matplotlib
- ubuntu 下Python pip install numpy scipy and matplotlib
- 如何在Linux系统Ubuntu版本下安装Python开发包NumPy、Matplotlib、SciPy
- Ubuntu-Python2.7下安装 scipy,numpy,matplotlib,nose
- Windows, Ubuntu 下 Numpy, Scipy, matplotlib, jupyter notebook 安装配置
- ubuntu下安装python numpy matplot scipy
- 深入.NET DataTable
- ORA-01779错误的处理方法
- json-lib与jackson的比较
- [Cocoa]使用代码创建窗口
- dokan 开发实战
- ubuntu 下 python numpy,scipy,matplotlib安装
- Java 大数类
- C++第一课
- tcp accept函数
- crontable中的百分号“%”问题
- linux常用端口对照
- 构建Node.js应用的10个重要的方面
- java入门学习(十五)运算语句while do while
- 大家给个建议,java程序员,周六日,或平时想做点兼职,发现不知道做什么,求指教.