Because gdal is set to None in worldengine/imex/__init__.py when not installed, accessing it does not raise a NameError, meaning that this error is never thrown. Instead, when worldengine export is used without having installed GDAL, an AttributeError is thrown because the export function attempts to access properties of gdal (which is None).
Because
gdalis set toNonein worldengine/imex/__init__.py when not installed, accessing it does not raise a NameError, meaning that this error is never thrown. Instead, whenworldengine exportis used without having installed GDAL, an AttributeError is thrown because the export function attempts to access properties ofgdal(which isNone).