Vincent Liagre
07/20/2023, 11:44 AMsrc/my_module
) with pip install -e src
; now kedro
is looking for data within the my_module
folder from root for some reason. Any clue whats going on here and how I can solve this ?
Happy to provide more details if required πdatajoely
07/20/2023, 11:45 AMVincent Liagre
07/20/2023, 11:49 AMββββββββββββββββββββββββββββββββ Traceback (most recent call last) βββββββββββββββββββββββββββββββββ
β C:\Users\Vincent Liagre\Anaconda3\envs\my_env\lib\site-packages\kedro\io\core.py:210 in β
β load β
β β
β C:\Users\Vincent β
β Liagre\Anaconda3\envs\my_env\lib\site-packages\kedro_datasets\pandas\excel_dataset.py:223 β
β in _load β
β β
β C:\Users\Vincent β
β Liagre\Anaconda3\envs\my_env\lib\site-packages\pandas\util\_decorators.py:211 in wrapper β
β β
β C:\Users\Vincent β
β Liagre\Anaconda3\envs\my_env\lib\site-packages\pandas\util\_decorators.py:331 in wrapper β
β β
β C:\Users\Vincent β
β Liagre\Anaconda3\envs\my_env\lib\site-packages\pandas\io\excel\_base.py:482 in read_excel β
β β
β C:\Users\Vincent β
β Liagre\Anaconda3\envs\my_env\lib\site-packages\pandas\io\excel\_base.py:1695 in __init__ β
β β
β C:\Users\Vincent β
β Liagre\Anaconda3\envs\my_env\lib\site-packages\pandas\io\excel\_openpyxl.py:557 in β
β __init__ β
β β
β C:\Users\Vincent β
β Liagre\Anaconda3\envs\my_env\lib\site-packages\pandas\io\excel\_base.py:535 in __init__ β
β β
β C:\Users\Vincent Liagre\Anaconda3\envs\my_env\lib\site-packages\pandas\io\common.py:865 β
β in get_handle β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
FileNotFoundError: [Errno 2] No such file or directory: 'C:/Projects/my_env/my_module/<path_to_my_data.xlsx>
datajoely
07/20/2023, 11:50 AMVincent Liagre
07/20/2023, 11:50 AMkedro
thinks I am within my_module
datajoely
07/20/2023, 11:50 AMVincent Liagre
07/20/2023, 11:51 AMmy_dataset:
type: pandas.ExcelDataSet
filepath: path_to_my_data
datajoely
07/20/2023, 11:51 AMVincent Liagre
07/20/2023, 11:51 AMdatajoely
07/20/2023, 11:51 AMVincent Liagre
07/20/2023, 11:51 AMpip uninstall my_module
datajoely
07/20/2023, 11:52 AMmy_module
name the same as the main Kedro packageVincent Liagre
07/20/2023, 11:52 AMdatajoely
07/20/2023, 11:52 AMVincent Liagre
07/20/2023, 11:53 AMdatajoely
07/20/2023, 11:53 AMVincent Liagre
07/20/2023, 11:55 AMsetup.py
?datajoely
07/20/2023, 12:49 PMmy_module_nodes
etc should fix itVincent Liagre
07/20/2023, 12:54 PMdatajoely
07/20/2023, 1:00 PMVincent Liagre
07/20/2023, 1:12 PMsetup
function, which I think just changes the name in the pip list
but not the names I need to use in importsdatajoely
07/20/2023, 1:13 PMpip install -e
editable installVincent Liagre
07/20/2023, 1:14 PM