Ubuntu12.04下安装numpy and matplotlib(亲测可行)
2014-02-27 20:15
337 查看
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
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
相关文章推荐
- Ubuntu下安装numpy and matplotlib
- Ubuntu下安装numpy and matplotlib
- linux下安装numpy and matplotlib
- python_Ubuntu下安装numpy and matplotlib
- ubuntu下安装numpy and matplotlib
- Ubuntu下安装numpy and matplotlib
- Ubuntu下安装numpy and matplotlib
- Ubuntu下安装numpy and matplotlib
- Ubuntu-Python2.7安装 scipy,numpy,matplotlib
- win10下python3.6安装numpy,scipy,matplotlib
- liunx 环境下 python模块numpy,scipy,matplotlib 安装
- win32 python3.4.1 下安装Numpy、matplotlib、Scipy、theano、sklearn
- python及常用库numpy、scipy、matplotlib安装与卸载-Windows环境
- python知识(4)----Ubantu14.04 下pip安装Numpy,SciPy和MatplotLib
- windows64位Python3.5.2基础上,安装numpy、matplotlib、scipy(whl文件)安装tensorflow及sklearn包
- ubuntu 下Python pip install numpy scipy and matplotlib
- windows下python3.4安装Numpy和matplotlib
- ubuntu14 python2.7上安装scipy,numpy,matplotlib的方法
- python numpy,matplotlib,setuptools windows环境下的安装
- python实践系列之(一)安装 python/pip/numpy/matplotlib