#761: gdal-dev: ImportError: DLL load failed while importing _gdal
------------------------+----------------------------
Reporter: andreaerdna | Owner: osgeo4w-dev@…
Type: defect | Status: closed
Priority: critical | Component: Package
Version: | Resolution: fixed
Keywords: |
------------------------+----------------------------
Comment (by andreaerdna):
It seems adding
{{{
call "%OSGEO4W_ROOT%\bin\gdal-dev-env.bat"
}}}
in %OSGEO4W_ROOT%\apps\gdal-dev\Scripts\gdal_merge.bat
fixes the issue for GDAL Merge processing algorithm.
gdal_merge.bat:
{{{
@echo off
call "%OSGEO4W_ROOT%\bin\o4w_env.bat"
call "%OSGEO4W_ROOT%\bin\gdal-dev-env.bat"
python "%OSGEO4W_ROOT%\apps\gdal-dev\Scripts\gdal_merge.py" %*
}}}
--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/761#comment:4>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack._______________________________________________
osgeo4w-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev