Ubuntu12.04下安装numpy and matplotlib(亲测可行)
来源:互联网 发布:手机4g网络怎么加速 编辑:程序博客网 时间:2024/06/03 20:49
Ubuntu下安装numpy and matplotlib
root下
安装numpy相对简单,以下命令可以完成
apt-get install python-numpy
apt-get install python-scipy
安装matplotlib相对复杂一些
需要先安装其依赖的包libpng和freetype
安装libpng:
sudo apt-get install libpng-dev
安装freetype:
cd ~/Downloads
wget http://download.savannah.gnu.org/releases/freetype/freetype-2.4.10.tar.gz
tar zxvf freetype-2.4.10.tar.gz
cd freetype-2.4.10/
./congfigure
make
sudo make install
安装pip,然后通过pip来安装matplotlib:
sudo apt-get install python-pip
安装好pip后就可以用下面的命令来查找matplotlib和查看其安装状态
sudo pip search matplotlib
安装matplotlib
sudo pip install matplotlib
0 0
- Ubuntu12.04下安装numpy and matplotlib(亲测可行)
- Ubuntu下安装numpy and matplotlib
- ubuntu下安装numpy and matplotlib
- Ubuntu下安装numpy and matplotlib
- linux下安装numpy and matplotlib
- Ubuntu下安装numpy and matplotlib
- Ubuntu下安装numpy and matplotlib
- Ubuntu下安装numpy and matplotlib
- python_Ubuntu下安装numpy and matplotlib
- Ubuntu14.04下安装numpy 和 matplotlib
- ubuntu下安装numpy,matplotlib
- ubuntu16.04下安装numpy,scipy,pandas,matplotlib
- ubuntu 下 python numpy,scipy,matplotlib安装
- Windows下安装numpy、sicpy、matplotlib
- Ubuntu下安装numpy和matplotlib包
- python下安装numpy、matplotlib、scipy过程
- windows下安装pillow,numpy和matplotlib
- windows下安装numpy,scipy和matplotlib
- 关于map task、reduce task和hdfs块大小的理解
- 日期结构体
- struts2基础(续)
- uva 993 - Product of digits
- 模式识别(一):概念介绍
- Ubuntu12.04下安装numpy and matplotlib(亲测可行)
- 《实时碰撞检测算法技术》读书笔记(四):OBB计算
- 浅谈C/C++中的static和extern关键字
- Android 程序锁
- 跟我一起写Makefile(三):书写规则
- C++:静态成员与常成员
- bombing:4证书认证系统设计与实现-实现上
- 第二学期第一周项目3--该年的第几天?
- (BUG已修改,最优化)安卓ListView异步加载网络图片与缓存软引用图片,线程池,只加载当前屏之说明