fiona - Installing geopandas on Python 2.6 -


this in continuation earlier question geospatial analytics in python

i started new question keep 2 issues logically separate.

i have trying install geopandas on python 2.6

surprisingly, geopandas installed geoseries doesn't work , needs package "fiona". followed instruction provided here

i installed libraries required searching , following suggestions (including dev libraries thinking i'll .h files), stuck these 2 issues:

https://github.com/toblerity/fiona

after cloning git , python setup.py install on fiona, error:

gcc -pthread -fno-strict-aliasing -o2 -g -pipe -wall -wp,-d_fortify_source=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -d_gnu_source -fpic -fwrapv -dndebug -o2 -g -pipe -wall -wp,-d_fortify_source=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -d_gnu_source -fpic -fwrapv -fpic -i/usr/include/python2.6 -c fiona/_geometry.c -o build/temp.linux-x86_64-2.6/fiona/_geometry.o gcc: fiona/_geometry.c: no such file or directory

pip install geopandas gives

fiona/_transform.cpp:269:18: error: gdal.h: no such file or directory  fiona/_transform.cpp:270:26: error: gdal_version.h: no such file or directory  fiona/_transform.cpp:271:22: error: cpl_conv.h: no such file or directory  fiona/_transform.cpp:272:24: error: cpl_string.h: no such file or directory  fiona/_transform.cpp:273:21: error: cpl_vsi.h: no such file or directory  fiona/_transform.cpp:274:22: error: ogr_core.h: no such file or directory 

any sorting issues , getting geopandas installed appreciated

on linux mint, python 2.7.10 (anaconda):

sudo apt-get install libgeos-dev sudo apt-get install libgdal-dev pip install geopandas  installed descartes-1.0.1 fiona-1.6.2 geopandas-0.1.1 pyproj-1.9.4 

i recommend moving 2.7.10. 2 development libraries needed on system. seems missing libgdal-dev.


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -