QGIS软件的等高线插件安装

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
wnyh
帖子: 54
注册时间: 2011-11-24 9:00

QGIS软件的等高线插件安装

#1

帖子 wnyh » 2016-12-07 15:23

我的版本是2.8.6 wien
提示没有 python numpy, matplotlib, and shapely。

经验如下:
Ubuntu下安装numpy 、 matplotlib及shapely
(1)
apt-get install python-numpy
apt-get install python-scipy
(2)
安装matplotlib,需要先安装其依赖的包libpng和freetype
1)安装libpng:
sudo apt-get install libpng-dev
2)安装freetype:
cd ~/Downloads
wget http://download.savannah.gnu.org/releas ... .10.tar.gz
tar zxvf freetype-2.4.10.tar.gz
cd freetype-2.4.10/
./congfigure
make
sudo make install
3)安装pip,然后通过pip来安装matplotlib:
sudo apt-get install python-pip

4)安装好pip后就可以用下面的命令来查找matplotlib和查看其安装状态
sudo pip search matplotlib

5)安装matplotlib
sudo pip install matplotlib
(3)
安装shapely
sudo pip install shapely
若发现缺少geos的库,在geos官网下载了源码编译安装后,错误可能依旧。后来在在geos官网上发现这玩意有现成的二进制包,通过apt-get install libgeos-dev安装后问题解决。

至此可以使用顺利安装上contour插件
回复