Ubuntu下安装numpy and matplotlib
来源:互联网 发布:淘宝汽车服务指定安装 编辑:程序博客网 时间:2024/05/17 04:23
安装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
from : http://www.2cto.com/os/201309/246928.html
0 0
- Ubuntu下安装numpy and matplotlib
- ubuntu下安装numpy and matplotlib
- Ubuntu下安装numpy and matplotlib
- Ubuntu下安装numpy and matplotlib
- Ubuntu下安装numpy and matplotlib
- Ubuntu下安装numpy and matplotlib
- ubuntu下安装numpy,matplotlib
- linux下安装numpy and matplotlib
- python_Ubuntu下安装numpy and matplotlib
- ubuntu 下 python numpy,scipy,matplotlib安装
- Ubuntu下安装numpy和matplotlib包
- Ubuntu下安装Numpy与Matplotlib
- ubuntu 下Python pip install numpy scipy and matplotlib
- ubuntu 安装numpy和matplotlib
- Ubuntu安装numpy,scipy,matplotlib
- Ubuntu 安装numpy,scipy,matplotlib
- ubuntu安装numpy,matplotlib等
- Ubuntu-Python2.7下安装 scipy,numpy,matplotlib,nose
- 百度地图中心点位置设置
- IOS开发:把 JSON 数据转化成 Arrays 或者 Dictionaries
- 【多线程】(七)互斥量Mutex
- BZOJ 2300 HAOI2011 防线修建 平衡树维护凸包
- 私有继承,公有继承,保护继承(代码附上自己体会)
- Ubuntu下安装numpy and matplotlib
- MySQL内核InnoDB存储引擎(卷1)笔记
- 数据结构实验之链表二:逆序建立链表
- struts2对action中的方法进行输入校验(1)
- Android 客户端访问服务器以及服务器开发
- 解决 ADB端口被占用问题
- chromium进程间通信-ChannelImpl
- 2015阿里巴巴研发笔试题
- 利用XmlTextReader读取XML节点数据