George p
12/12/2023, 2:06 PMJuan Luis
12/12/2023, 2:09 PMāāā src
ā āāā tmp_spaceflights
ā āāā __init__.py
ā āāā __main__.py
ā āāā lib # <--- Here!
ā ā āāā __init__.py
George p
12/12/2023, 2:13 PMdatajoely
12/12/2023, 2:13 PMkedro jupyter notebook
George p
12/12/2023, 2:15 PMJuan Luis
12/12/2023, 2:28 PMfrom tmp_spaceflights.lib import my_function
but for that to work you'd need to first do pip install -e .
George p
12/12/2023, 4:27 PMlib
moduleGeorge p
12/12/2023, 4:28 PMJuan Luis
12/12/2023, 6:47 PMpip install -e ./src
instead (otherwise you get the UNKNOWN.egg-info
file you mention). please try it outJuan Luis
12/12/2023, 6:51 PMIn general, i struggle to find any documentation on how to place/use/import custom libraries with kedroI just opened an issue https://github.com/kedro-org/kedro/issues/3418