Survey banner
The Dataiku Community is moving to a new home! We are temporary in read only mode: LEARN MORE

importing module to dataiku jupyter

vandik
Level 2
importing module to dataiku jupyter

i am new to dataiku and i am trying to learn how to import modules into dataiku . i have already gone through documentation. but when i try to import and use the module in the same project in a jupyter it says module not found . i have attached screenshots belowcode.pngprr.png


Operating system used: windows 11

0 Kudos
14 Replies
Turribeach

New/updated libraries require that you reload the Notebook and Dataiku copies the libraries for Jupyter kernel to be able to execute them. Click on the Force Reload button on the Notebook. 

0 Kudos
vandik
Level 2
Author

i have restarted the kernel and also force restarted it and it still says there is no module 

0 Kudos
Turribeach

What version of Dataiku do you have?

0 Kudos
vandik
Level 2
Author

i am using the free version on windows 11

0 Kudos
Turribeach

Version number. 

0 Kudos
vandik
Level 2
Author

its 12.6.1

0 Kudos
Turribeach

Works for me, and I am on 12.6.1 too:

Screenshot 2024-05-14 at 07.47.25.pngScreenshot 2024-05-14 at 07.47.34.png

0 Kudos
vandik
Level 2
Author

i have done exactly what you just did and it still says the same thing module not found. would this be an error from my side or should i raise a ticket somewhere

0 Kudos
Turribeach

Did you remove your modules? They may not import due to error. Did you click on Force Reload? Also are you using a custom code environment? Try creating a new code environment and using that as your notebook kernel. 

0 Kudos
vandik
Level 2
Author

i tried removing the modules creating new ones like you did and created a new environment but still the problem persists.

0 Kudos
Turribeach

can you please post screen shots of your library folder, code and import in the notebook. Thanks 

0 Kudos
vandik
Level 2
Author

codee.pnglib.png

0 Kudos
Turribeach

Ummm I just tried on the free version on Windows and I am able to reproduce the issue you see although I am not sure if it is due to the free license or Windows. It could be either or both. However you should note the warning displayed on your installation:

Dataiku DSS wasn't originally designed to natively run on Windows. 
It is available as an experimental version and only for testing. 
Dataiku does not provide official support for this installation.

So I will suggest you move to a supported platform. Your best bet is to use a VM:

https://doc.dataiku.com/dss/latest/installation/other/vm.html

 

0 Kudos
vandik
Level 2
Author

thank you . i will try to use it in vm. i did the same process in an other system where it worked perfectly

0 Kudos