Opened 3 years ago

Closed 3 years ago

#710 closed defect (duplicate)

PROJ version conflict due to python packages

Reported by: tdanckaert Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: Keywords:
Cc:

Description

Using OSGeo4W from qgis.org (log says 'OSGeo4W install, version 2.579'), I run into issues with the PROJ library. I believe this happened when I added python3-geopandas to my installation. The proj.db file was incorrect, leading to the following error from pyproj:

Internal Proj Error: proj_create: SQLite error on SELECT versioned_auth_name, auth_name, version, priority FROM versioned_auth_name_mapping: no such table: versioned_auth_name_mapping

The cause (I believe): python3-geopandas requires Fiona, which requires gdal303-runtime, which requires on proj81-runtime. The rest of my packages seem to use gdal304-runtime and proj82-runtime.

I managed to get everything working again (as far as I can see, limited testing...) by uninstalling proj81-runtime, reinstalling proj82-runtime, and ignoring the warning about unmet dependencies. This seems to result in a working system, so maybe the Fiona package can simply be updated to use gdal304-runtime?

Change History (2)

comment:1 by tdanckaert, 3 years ago

Apologies, this is a duplicate of #709, I pressed 'submit' twice because the server didn't respond...

comment:2 by jef, 3 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.