#770 closed defect (fixed)
python3-rasterio broken in latest two releases
Reported by: | Christina Ratcliff | Owned by: | |
---|---|---|---|
Priority: | critical | Component: | Package |
Version: | Keywords: | rasterio | |
Cc: |
Description
I get the following message when importing rasterio (1.3.3-2 and 1.3.3-1)
import rasterio Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\PROGRA~1\QGIS32~1.3\apps\Python39\lib\site-packages\rasterio\__init__.py", line 28, in <module> from rasterio._version import gdal_version, get_geos_version, get_proj_version ImportError: DLL load failed while importing _version: The specified procedure could not be found.
Probably related to changes in rasterio packaging (https://github.com/rasterio/rasterio/releases/tag/1.3.3, https://github.com/rasterio/rasterio/pull/2594)
Is there a way to access older versions using command line installs until it gets fixed?
Change History (3)
comment:2 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 2 years ago
For anyone else who finds this thread and for my future reference.
This problem was still occurring in some versions of QGIS (ie QGIS 3.26.3) and could occur with rasterio or geopandas.
Install or update the following packages via OSGeo4W Setup and match supported version that rasterio or geopandas requires.
- gdal30X-runtime: The GDAL/ORG 3.X.X runtime library
- projXX-runtime: The PROJ library (runtime)
- geos: The GEOS geometry library (Runtime)
For QGIS 3.26.3 upgrading geos to 3.11.0-1 solved this problem.
Not reproducable in a fresh osgeo4w install (with 1.3.3-2 as of Dec 1th)