Closed PeterPetrik closed 3 years ago
import osgeo.gdal
works too
looks like import gdal
is deprecated and removed from GDAL 3.2.1 version we use, see https://pypi.org/project/GDAL/ section "Usage"
this is problem with the QGIS plugins that use import gdal, they should update to
try:
from osgeo import gdal
except ImportError:
import gdal
as suggested in the docs
created ticket for pdaltools https://gitlab.com/cartolab/pdaltools/-/issues/3
note that this is coming in new OSGeo4W (Windows) too!
note that this is coming in new OSGeo4W (Windows) too!
someone already found that @jonnyforestGIS @PedroVenancio
but
import osgeo
works(nightly from 12/02/2021: QGIS version | 3.17.0-Master | QGIS code revision | 4137287031 )