Ubuntu下安装numpy和matplotlib包
来源:互联网 发布:淘宝联盟没有电脑版吗 编辑:程序博客网 时间:2024/05/20 10:54
Ubuntu下安装numpy and matplotlib
安装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
- Ubuntu下安装numpy和matplotlib包
- ubuntu下安装numpy,matplotlib
- ubuntu 安装numpy和matplotlib
- ubuntu 下 python numpy,scipy,matplotlib安装
- 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系统Ubuntu版本下安装Python开发包NumPy、Matplotlib、SciPy
- windows下安装pillow,numpy和matplotlib
- windows下安装numpy,scipy和matplotlib
- Ubuntu14.04下安装numpy 和 matplotlib
- 安装numpy和matplotlib
- Windows下安装Python3的numpy、matplotlib、scipy包
- Ubuntu安装numpy,scipy,matplotlib
- C++语言的设计与演化 读书笔记二
- C++语言的设计与演化 读书笔记三
- Matlab 启动时,加载失败的问题 Encountered unexpected end-of-file
- 大一的浑浑噩噩,大二的觉醒
- 修改MyEclipse中的Jsp页面模…
- Ubuntu下安装numpy和matplotlib包
- Ubuntu 相关技巧
- 字节流、字符流
- Java IO 操作
- error C2668
- System.in流
- 内存流
- 性能测试和数据分析的一点总结
- Keepalived原理与实战精讲--VRRP协议