How to install GDAL on Databricks Cluster ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2022 02:36 AM
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 gdalto validate but it throws
ModuleNotFoundError: No module named 'gdal'
- Labels:
-
Cluster
-
Databricks Cluster
-
PyPI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2022 10:54 PM
@Abhishek Jain I can understand your issue it happens to me also multiple times so solving this issue I used to install the init script in my cluster
Major reason is that your 10X version does not support your current library so you have to find right package for your 10X machine
and you can create init script using this link -- https://docs.databricks.com/clusters/init-scripts.html
Thanks
Aviral