linux下安装numpy and matplotlib
2015-04-09 13:43
288 查看
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
easy_install -U distribute
安装matplotlibsudo pip install matplotlib (这个过程由于网速的原因,可能会很慢,大概要十几分钟的时间)
相关文章推荐
- Linux下安装numpy,pandas,matplotlib
- Ubuntu下安装numpy and matplotlib
- linux下安装Numpy,scipy,matplotlib的安装
- Ubuntu下安装numpy and matplotlib
- python_Ubuntu下安装numpy and matplotlib
- Ubuntu12.04下安装numpy and matplotlib(亲测可行)
- ubuntu下安装numpy and matplotlib
- linux中安装python科学计算环境-numpy、scipy、matplotlib、OpenCV...
- Ubuntu下安装numpy and matplotlib
- linux下pip安装Numpy,SciPy和MatplotLib
- linux中安装python科学计算环境-numpy、scipy、matplotlib、OpenCV...
- 【Linux基础】Linux/Windows下安装python、Numpy、Matplotlib
- 动手实践:在Linux上安装NumPy、Matplotlib、SciPy和IPython
- 在Ubuntu Linux 安装Python第三方库:NumPy,SciPy,Matplotlib, Scikit-Learn,Theao等
- Linux环境下numpy,scipy,matplotlib的安装
- 在linux上安装NumPy,Matplotlib,SciPy和IPython
- linux下安装numpy,pandas、matplotlib
- Linux环境下numpy,scipy,matplotlib的安装
- linux中安装python科学计算环境-numpy、scipy、matplotlib、OpenCV...
- Linux入门(10)——Ubuntu16.04使用pip3和pip安装numpy,scipy,matplotlib等第三方库