See also this issue for way more details.
Describe the bug
When I create a new environment from scratch (not a clone!), I get a non-functioning gdal environment.
To Reproduce
Creating an environment using conda create -n gdaltest36 -c esri python=3.13 gdal arcpy=3.6 gives a non-working gdal in the environment and conda create -n gdaltest -c esri python=3.13 gdal=3.11.3 arcpy=3.6 gives a working gdal in the environment. It seems that the arcpy=3.6 cannot handle gdal=3.12.2 from esri.
When I execute python -c "from osgeo import gdal; print(gdal.VersionInfo())"
In the environment gdaltest36, I get an ImportError, in the environment gdaltest, I get the expected 3110322
Version (please complete the following information):
Additional context
See the original issue.
See also this issue for way more details.
Describe the bug
When I create a new environment from scratch (not a clone!), I get a non-functioning gdal environment.
To Reproduce
Creating an environment using
conda create -n gdaltest36 -c esri python=3.13 gdal arcpy=3.6gives a non-working gdal in the environment andconda create -n gdaltest -c esri python=3.13 gdal=3.11.3 arcpy=3.6gives a working gdal in the environment. It seems that the arcpy=3.6 cannot handle gdal=3.12.2 from esri.When I execute
python -c "from osgeo import gdal; print(gdal.VersionInfo())"In the environment gdaltest36, I get an
ImportError, in the environment gdaltest, I get the expected3110322Version (please complete the following information):
Additional context
See the original issue.