a month ago
hi,
I cannot install geopandas in my notebook, ive tried all different forms of generic fix, pip installs etc but always get this error:
a month ago
@tomos_phillips1 - can you please try install geopandas on a single node cluster. (driver only) ?
%pip install geopandas
a month ago
@shan_chandra - I do not have permission in my org to modify any cluster properties etc. Do you know of another way around this? Our internal IT team also do not have a fix for this.
4 weeks ago
@tomos_phillips1 - can you please raise a support ticket with Databricks support team to triage this further?
2 weeks ago
2 weeks ago
@tomos_phillips1 @shan_chandra
Got the below init script from Databricks Support. Worked for us in Databricks AWS Env.
dbutils.fs.put("/databricks/scripts/libinstall.sh","""
#!/bin/bash
sudo rm -r /var/lib/apt/lists/*
sudo apt clean &&
sudo apt update --fix-missing -y &&
sudo apt install -y libmysqlclient21
sudo apt install -y libgdal-dev
""", True)
Monday
Hi @vbvasa,
gdal-config
using a GDAL_CONFIG
environment variable or ...
1.GDAL_CONFIG
environment variable, you can follow these steps:
bin
directory).GDAL_CONFIG
environment variable to point to the gdal-config
executable. For example:
export GDAL_CONFIG=/path/to/gdal-config
GDAL_VERSION
environment variable to the desired GDAL version.conda create -n geo-env -c conda-forge geopandas
pip install cython
pip install shapely
pip install fiona
pip install pyproj
pip install rtree
pip install geopandas
Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections.
Click here to register and join today!
Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.