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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

OSGeo4W
#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:                  |   Keywords:  python3 fiona geopandas gdal
---------------------------+------------------------------------------
 i falsely posted this on issues.qgis.org, and i think it should be
 addressed here:

 I installed fiona along with qgis3 and python3 via osgeo4w-setup.exe but
 it throws an exeption:


 {{{
     C:\OSGeo4W>python3
     Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32
 bit (Inte
     l)] on win32
     Type "help", "copyright", "credits" or "license" for more information.
     >>> 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.
 }}}


 This is often reported as a version conflict with gdal.

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

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

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

OSGeo4W
#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):

 dependency walker tells me, it searches for gdal203.dll, which also could
 be found as a string inside .pyd files for fiona. So I checked, but it
 seems we never had this version of gdal in osgeo4w.

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

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

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

OSGeo4W
In reply to this post by OSGeo4W
#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 jef):

 There is also a transitional package gdal203dll.

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

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

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

OSGeo4W
In reply to this post by OSGeo4W
#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 tried, but i got the same error, may be that gdal203 has unresolved
 dependencies. DependencyWalker tells now that hdf_fw.dll and mfhwf_fw.dll
 is missing. Hdf_fw.dll was definitely present in former installs though.

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

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev