Cyril Verluise
11/19/2024, 5:22 PMkedro
not being recognized as a cli.
She is using anaconda prompt, created a virtual environment, installed kedro (and other deps), but when running kedro run
(from the activated conda env) she gets
'kedro' is not recognized as an internal or external command, operable program or batch file.
Nb: if we try to import kedro
using that same conda env, that works properly.
Any ideas?Hall
11/19/2024, 5:22 PMJitendra Gundaniya
11/19/2024, 5:36 PMCyril Verluise
11/19/2024, 5:37 PMJitendra Gundaniya
11/19/2024, 5:45 PMScripts
directory and verify that kedro.exe
exists.Cyril Verluise
11/19/2024, 5:46 PMJitendra Gundaniya
11/19/2024, 5:47 PMCyril Verluise
11/19/2024, 5:48 PMimport kedro
works in the env. So, installation seems ok, except for the cli part which is not recognizedJitendra Gundaniya
11/19/2024, 5:54 PMScripts
directory to the PATH.
Check the Scripts
directory and if its not there try uninstalling Kedro from your conda env and reinstall again with pip.Cyril Verluise
11/19/2024, 5:55 PMNok Lam Chan
11/20/2024, 3:57 AMNok Lam Chan
11/20/2024, 3:59 AMkedro
, so if kedro
is not found as a command, check if the bin
or Script
has a kedro.exe
.
Also maybe try different the normal cmd terminal (and close the terminal and re-open, sometime maybe it fails to add things to PATH
), I never use the Anaconda prompt so I don't know what does it actually do.Cyril Verluise
11/20/2024, 7:28 AM