Discover this year's submissions to the Dataiku Frontrunner Awards and give kudos to your favorite use cases and success stories!READ MORE

'Dataiku-info'module couldn't be found

Solved!
JazzminnNo
Level 2
'Dataiku-info'module couldn't be found

A dataiku project, which uses a code recipe from a plugin, migrated from our prod environment to a plugin development environment along with the used plugin. With the project code and plugin code untouched, using the same code environment, an error is shown saying that the 'dataiku-info'-module couldn't be found (see uploaded image: 'dataiku_info.png').  You can also refer to 'module-error.png'.

I included the python code in a .txt file from the plugin where the error is occurring. Mind you that this code was not changed and worked fine on the prod environment. 

What are we doing wrong here?

Thanks in advance,

Nofit 


Operating system used: RedHat

0 Kudos
1 Solution
AlexT
Dataiker
Dataiker

Hi,

dataiku_info is a custom library that was present in your old instance. This could have been included in the global project libraries for example which were not moved over. 

To confirm I would suggest the working environment in a Notebook you perform :

from dataiku_info import dataset_info

dataset_info.__file__

This should print out the location of dataiku_info. 

 

Thanks,

View solution in original post

0 Kudos
2 Replies
AlexT
Dataiker
Dataiker

Hi,

dataiku_info is a custom library that was present in your old instance. This could have been included in the global project libraries for example which were not moved over. 

To confirm I would suggest the working environment in a Notebook you perform :

from dataiku_info import dataset_info

dataset_info.__file__

This should print out the location of dataiku_info. 

 

Thanks,

0 Kudos
JazzminnNo
Level 2
Author

Hi Alex,

Thank you for the explanation, makes sense. Meanwhile the problem temporarily is worked around by maintaining the scripts of the library locally, but in near future it will probably be pointing to a global project library again.

 

0 Kudos

Labels

?
Labels (2)

Setup info

?
A banner prompting to get Dataiku