Opened 2 years ago

Closed 2 years ago

#709 closed defect (fixed)

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 (1)

comment:1 by jef, 2 years ago

Resolution: fixed
Status: newclosed

python3-fiona-1.8.20-2 depends on gdal304-runtime

Note: See TracTickets for help on using tickets.