Join the Kedro community

Updated 2 months ago

Migrating to the latest versions of kedro and kedro-datasets with issues related to geopandas.GenericDataset

Hey Kedro!
We are migrating to the latest versions of kedro and kedro-datasets and we are confused with the new geopandas.GenericDataset
We have an error that suggests problems with dependencies but we did install the specific group of kedro-datasets using pip. We checked the source code and the class is defined. Geopandas is installed too.
Here's the dataset in the catalog:

renab_geoloc_vul:
  filepath: data/vectors/renab/renab_vul_geoloc.geojson
  type: geopandas.GenericDataset
  versioned: false
Here's the error:
DatasetError: An exception occurred when parsing config for dataset 'renab_geoloc_vul': You can only set the value of existing options. Please see the documentation on how to install relevant dependencies for kedro_datasets.geopandas.GenericDataset:
<a target="_blank" rel="noopener noreferrer" href="https://docs.kedro.org/en/stable/kedro_project_setup/dependencies.html#install-dependencies-related-to-the-data-catalog">https://docs.kedro.org/en/stable/kedro_project_setup/dependencies.html#install-dependencies-related-to-the-data-catalog</a>
Can you help please ? πŸ™

L
H
2 comments

Hi, , have you tried running it on a fresh environment, just to make sure it's a dependency issue and not an environment issue?

Hi, I think it's been done by my colleague! I'll check with him. Thanks for answering. Will update here

Add a reply
Sign up and join the conversation on Slack