I try to follow this guide ► Creating super-overlays with gdal2tiles, everything goes well until it reachs gdal2tiles part.
When I type the command gdal2tiles.py -p geodetic -k bluemarble2.vrt
or gdal2tiles.py
or gdal2tiles
in OSGeo4W Shell it gives following result:
'gdal2tiles' is not recognized as an internal or external command, operable program or batch file.
I tried almost everything, searched Google for 2 days, added paths in Windows Environment Variables, installed-uninstalled separate OSGeo4W, experimented with different python versions. And still no any improvement.
Details: At the moment my OSGeoW4 (path: "C:\Program Files\QGIS 3.12\OSGeo4W.bat"
) is the one which comes with QGIS 3.12, and this installation has its own Python 3.7 (path: "C:\Program Files\QGIS 3.12\apps\Python37\python.exe"
) as well.
As google searching showed I am not the only one who has such problem, so does anyone know how to solve this issue?
► UPDATE [08:20 2020-06-18]
After @ian-turton's answer I've installed python bindings, but now when I run the command gdal2tiles.py -p geodetic -k bluemarble2.vrt
it opens actual python file gdal2tiles.py in my VS Code editor.