[QGIS-Developer] Import geopandas fails in OSGeo4W install

Nyall Dawson nyall.dawson at gmail.com
Wed Feb 26 15:34:10 PST 2020


On Thu, 27 Feb 2020 at 06:03, Anita Graser <anitagraser at gmx.at> wrote:
>
> Hi,
>
> Importing pandas works fine but geopandas fails with DLL not found. It affects both 3.10.3 and master

There's a similar thread on the user list about importing pyproj.
Looks like an osgeo packaging issue to me.,..

Nyall

>
> QGIS version
> 3.10.3-A Coruña
> QGIS code revision
> 0b57cb7b51
>
> QGIS version
> 3.13.0-Master
> QGIS code revision
> bb93dbcf13
>
> import pandas
> import geopandas
> Traceback (most recent call last):
>   File "C:\OSGEO4~1\apps\Python37\lib\code.py", line 90, in runcode
>     exec(code, self.locals)
>   File "<input>", line 1, in <module>
>   File "C:/OSGEO4~1/apps/qgis-ltr-dev/./python\qgis\utils.py", line 744, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "C:\OSGEO4~1\apps\Python37\lib\site-packages\geopandas\__init__.py", line 1, in <module>
>     from geopandas.geoseries import GeoSeries
>   File "C:/OSGEO4~1/apps/qgis-ltr-dev/./python\qgis\utils.py", line 744, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "C:\OSGEO4~1\apps\Python37\lib\site-packages\geopandas\geoseries.py", line 6, in <module>
>     import pyproj
>   File "C:/OSGEO4~1/apps/qgis-ltr-dev/./python\qgis\utils.py", line 744, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "C:\OSGEO4~1\apps\Python37\lib\site-packages\pyproj\__init__.py", line 70, in <module>
>     from pyproj import _datadir
>   File "C:/OSGEO4~1/apps/qgis-ltr-dev/./python\qgis\utils.py", line 744, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
> ImportError: DLL load failed: The specified module could not be found.
>
>
> Should I open a ticket?
>
> Regards,
> Anita
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the QGIS-Developer mailing list