Replies: 4 comments 17 replies
-
Hi @dwinski! Did you run That catalog is not defined error is because Kedro cannot create the catalog without the right requirements installed |
Beta Was this translation helpful? Give feedback.
-
I'm trying to recreate your steps from to create the spaceflights-dec15 environment but if I only do: then it appears I won't get IPython installed. So appears I do need to also do: to get IPython and allow me to run >kedro ipython. Correct? |
Beta Was this translation helpful? Give feedback.
-
Otherwise, how did you have IPython in this environment? |
Beta Was this translation helpful? Give feedback.
-
Ok, after recreating environment per your steps I just ran: ... and now it's working! No idea what the problem was with the other environment but at least I can keep progressing on tutorial now. Thanks for your help. Will post again if I hit a wall with tutorial and can't solve it with what help is already available on interwebs. |
Beta Was this translation helpful? Give feedback.
-
I'm new to kedro and running 0.17.6 on a Windows machine inside a conda environment with Python 3.8.12 where I have pip installed all the requirements from the requirements.txt file that was created with "kedro new". I also tried to install the pandas.CSVDataSet and pandas.ExcelDataSet classes by modifying the line in the requirements.txt file per the spaceflights tutorial to:
kedro[pandas.csvdataset,pandas.exceldataset]==0.17.6
I'm trying to follow the spaceflights tutorial but catalog in the kedro ipython session is not working (NameError: name 'catalog' is not defined) even when I try the magic commands below per this stackoverflow thread: https://stackoverflow.com/questions/70080915/kedro-context-and-catalog-missing-from-ipython-session
However, when I run:
%reload_kedro <path_to_project_root>
I get an exception:
DataSetError: An exception occurred when parsing config for DataSet 'companies': Class 'pandas.CSVDataSet' not found or one of its dependencieshas not been installed.
Would really like to get through this tutorial. Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions