Check out the first Dataiku 8 Deep Dive focusing on Productivity on October 29th Read More

How to get a package installed into a plugins managed environment

Neuron
Neuron
How to get a package installed into a plugins managed environment

Hi all,

I am writing a plugin that requires an additional package, I have added it to requirements.txt file in plugins "spec" folder and rebuilt the environment several times, but this package is still not showing up in the environment - is there an additional step I need to take to force it through?

Thanks,
Ben

0 Kudos
4 Replies
Dataiker
Dataiker

Hi,

if after the addition of the package you created new code envs from the plugin's Summary tab, and still don't have the package in the new code envs, as can be checked in the 'installed packages' tab of the code env in Administration > Code envs, can you attach the files from under 'code-env' in your plugin?

0 Kudos
Neuron
Neuron
Author

Hi @fchataigner2 

This is an existing environment - are you saying I should create a new one?

Ben

0 Kudos
Dataiker
Dataiker

yes, code envs for plugins are immutable so during dev you'll need to create one for each iteration of the required packages

Neuron
Neuron
Author

That makes sense, thank you for clarifying! ๐Ÿ™‚

0 Kudos