ubuntu 下 python numpy,scipy,matplotlib安装

这篇博客详细介绍了在Ubuntu 12.04系统下,如何通过命令行使用apt-get和easy_install来安装python的numpy, scipy和matplotlib库,包括了依赖库如python-dev、pyparsing、cython和libpng12-dev的安装步骤。" 79516164,7048911,深度优先搜索与宽度优先搜索算法详解,"['图论算法', '搜索算法', '数据结构', '算法应用']
摘要由CSDN通过智能技术生成


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


3.安装g++:

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 ins
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值