Skip to content

GDAL import dll error when creating a new environment from scratch #13

Description

@ew-pov

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):

  • arcpy 3.6

Additional context
See the original issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions