George p
09/30/2024, 12:15 PMpip install kedro_datasets
a) i see kedro being installed as a dependency, and,
b) i get an OSError saying "no directory: /bin/pygrun" (a dependency of antlr4-python3-runtime, which is a package for text processing)
>> Is it possible to restrict pip installation just to kedro_datasets, and (even stricter) just to a certain type (e.g. pandas or pandas.ExcelDataset) ?
(Googling didn't help with either a or b)George p
09/30/2024, 12:23 PMpip install omegaconf
and following with pip instal kedro_datasets
helped resolve the installation error. Still though kedro
is being installed (is that expected?)marrrcin
09/30/2024, 12:52 PMpip-compile
) or Poetry
or uv
to resolve dependencies and versions - it will allow you to handle conflicts.
Installing packages one-by-one is a bad practice.
---
To address your specific question - pip install --no-deps <your package>
should install only <your package>
. Having in mind what I wrote above, I'm not recommending that path.marrrcin
09/30/2024, 12:53 PMpip install "kedro_datasets[pandas-exceldataset]"
Juan Luis
09/30/2024, 1:52 PMkedro
is a dependency of kedro-datasets
. there was some discussion about this exact topic https://github.com/kedro-org/kedro/issues/2409
and we've been collecting some evidence from users that want to install the Kedro Catalog without the rest of Kedro in https://github.com/kedro-org/kedro/issues/2741
may I ask, what motivates you to install kedro-datasets
without kedro
?George p
10/03/2024, 11:40 PMGeorge p
10/03/2024, 11:43 PM