Discover all of the brand-new features and improvements to existing capabilities in the Dataiku 11.3 updateLET'S GO

Library Import from notebook gives ModuleNotFound

debanerjee
Level 1
Library Import from notebook gives ModuleNotFound

Hi Team, 

Im trying to run a Kedro pipeline from a Dataiku Recipe

I have uploaded my kedro pipeline into the libraries section of my project. 
When im trying run main() , it says module not found error but the module exists. Could you please help ?

 

 

Operating system used: Windows 10

0 Kudos
1 Reply
AlexT
Dataiker

Hi,

From the screenshots shared,  I don't see any ___init__.py files in your subfolders.

As noted : 

https://doc.dataiku.com/dss/latest/python/reusing-code.html#sharing-python-code-within-a-project

Don’t forget that if you create subfolders in a Python source folder, each folder must have a __init__.py file in order to be a valid Python module

Please try adding ___init___.py files in your subfolders and let us know if you are still seeing this issue. 

 

Thanks

 

0 Kudos