How to install GDAL on Databricks Cluster ?

Jain
New Contributor III

I am currently using Runtime 10.4 LTS.

The options available on Maven Central does not work as well as on PyPi.

I am running:

try:
 
  from osgeo import gdal
 
except ImportError:
 
  import gdal

to validate but it throws

ModuleNotFoundError: No module named 'gdal'