I made a software in ubuntu, and I'm having several problems to run the same in windows what I'm working on now is to install fiona.
I have it installed in my PIP packages but for some reason it does not work, so I decided to install it via setup baxei's original repository.
following the instructions using the
python setup.py install
I have already put some things into the environment variables like:
GDAL_DATA
GDAL_DRIVER_PATH
In addition to adding to the PATH variable the gdal path
There is another command that he says to use but I do not know what it would 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've tried 2.3 etc and it did not work.
I tried to use only the 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
What results when I use software that has fiona I get the following error:
import fiona
File "C:\Python27\fiona\__init__.py", line 81, in <module>
from fiona.collection import Collection, BytesCollection
File "C:\Python27\fiona\collection.py", line 9, in <module>
from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
ImportError: No module named ogrext