python_Ubuntu下安装numpy and matplotlib
2016-11-02 14:28
369 查看
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
安装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
相关文章推荐
- Ubuntu14.04中安装python的gui(idle),并安装jieba,numpy,scipy和matplotlib
- Ubuntu下安装numpy and matplotlib
- Ubuntu下安装numpy and matplotlib
- 4000 Python:Ubuntu安装numpy,scipy,matplotlib
- Ubuntu-Python2.7安装 scipy,numpy,matplotlib (转)
- Ubuntu-Python2.7安装 scipy,numpy,matplotlib
- Ubuntu-Python安装 scipy,numpy,matplotlib
- ubuntu 下Python pip install numpy scipy and matplotlib
- 如何在Linux系统Ubuntu版本下安装Python开发包NumPy、Matplotlib、SciPy
- Ubuntu-Python2.7安装 scipy,numpy,matplotlib
- ubuntu 下 python numpy,scipy,matplotlib安装
- Ubuntu-Python2.7下安装 scipy,numpy,matplotlib,nose
- Ubuntu-Python2.7安装 scipy,numpy,matplotlib
- Ubuntu环境下完美安装python模块numpy,scipy,matplotlib
- Ubuntu-Python2.7安装 scipy,numpy,matplotlib
- ubuntu下安装numpy and matplotlib
- Ubuntu-Python2.7安装 scipy,numpy,matplotlib
- Ubuntu下安装numpy and matplotlib
- Ubuntu-Python2.7安装 scipy,numpy,matplotlib
- Python: Ubuntu 安装numpy,scipy,matplotlib