I've done a software on Ubuntu, and I'm having several problems to run this software on Windows.
My biggest issue point now is that I'm trying to install "fiona" - I have it already installed on my PIP packages - but for some reason it's not working.
So I've tried to install it via setup download from the original repository.
By following the rules: using phyton setup.py install
I've already add some environment variables as:
GDAL_DATA GDAL_DRIVER_PATH
and beyond that I've add on variable PATH
the path of GDAL
There's another way to do it, by using another command but I don't how would it be
gdal include files
gdal library
python setup.py build_ext -I<path to gdal include files> -lgdal_i -L<path to gdal library> install --gdalversion 2.1
My current version of GDAL is GDAL 1.11.4, released 2016/01/25
I'd already tried with 2.3 etc. and it didn't work.
I've tried using only this command:
python setup.py install --gdalversion 1.11
fiona/_geometry.c(578) : fatal error C1083: Cannot open include file: 'ogr_api.h ': No such file or directory
Which results when I try to use a software that has fiona, I receive the following error:
import fiona
File "C:Python27fiona\__init__.py", line 81, in <module>
from fiona.collection import Collection, BytesCollection
File "C:Python27fionacollection.py", line 9, in <module>
from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
ImportError: No module named ogrext
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…