[osgeo4w-dev] [osgeo4w] #598: Fiona can't be imported into python37, DLL error

OSGeo4W trac_osgeo4w at osgeo.org
Tue Sep 17 03:04:43 PDT 2019

#598: Fiona can't be imported into python37, DLL error
Reporter:  Andreas Müller                |       Owner:  osgeo4w-dev@…
    Type:  defect                        |      Status:  new
Priority:  major                         |   Component:  Package
 Version:                                |  Resolution:
Keywords:  python3 fiona geopandas gdal  |

Comment (by Andreas Müller):

 I came across this issue again and now tried both osgeo4w64 and
 osgeo4w(32). I installed fiona along with gdal203 "et voila": It works
 with the 64-bit version but fails with 32-bit one.

 This is the error i got in the python shell:

 >>> import fiona
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "C:\OSGeo4W\apps\Python37\lib\site-packages\fiona\__init__.py",
 line 87, in <module>
     from fiona.collection import BytesCollection, Collection
   File "C:\OSGeo4W\apps\Python37\lib\site-packages\fiona\collection.py",
 line 9, in <module>
     from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
 ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.

 Also it would be nice, if gdal203dll would be in "requires" of fiona.

Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/598#comment:4>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

More information about the osgeo4w-dev mailing list