The Dataiku Frontrunner Awards have just launched to recognize your achievements! Submit Your Entry

Default python packages

Solved!
NagarajuVarkala
Level 1
Default python packages

Hi ,

How to add a python package to default python installed packages list?

 

Thank you.

0 Kudos
1 Solution
sergeyd
Dataiker
Dataiker

Ok, let's clarify a few points:

1) In case you are talking about DSS base code env that was generated with DSS installation. I strongly don't recommend changing any of the base packages as this might break DSS:

2) If we are still talking about code envs, as I mentioned you will need to uncheck the "core packages" and set your own list: https://doc.dataiku.com/dss/latest/code-envs/operations-python.html#manage-packages

Screenshot 2021-03-01 at 21.11.41.png

In this example, I had installed pandas==1.1.5 what is not possible with core packages. 

I would recommend creating a new python code env with required python packages versions and use that code env with the projects you need. 

View solution in original post

0 Kudos
6 Replies
sergeyd
Dataiker
Dataiker

Hi @NagarajuVarkala 

Are you talking about code envs? You can install the packages just by typing their names in the list: 

https://doc.dataiku.com/dss/latest/code-envs/operations-python.html#manage-packages

Screenshot 2021-02-25 at 19.47.22.png

0 Kudos
NagarajuVarkala
Level 1
Author

Hi ,

The same we are doing currently. But, as per my use case i want to change the base/default package list.

0 Kudos
sergeyd
Dataiker
Dataiker

Hi @NagarajuVarkala 

Just uncheck base packages and install the ones you need. Please note, that you will lose the ability to use Dataiku APIs n this case. 

0 Kudos
NagarajuVarkala
Level 1
Author

Hi,

Let me explain my requirement. I want to change a python package version which is in the base list and that change should reflect to all projects which are using base list.

 

0 Kudos
sergeyd
Dataiker
Dataiker

Ok, let's clarify a few points:

1) In case you are talking about DSS base code env that was generated with DSS installation. I strongly don't recommend changing any of the base packages as this might break DSS:

2) If we are still talking about code envs, as I mentioned you will need to uncheck the "core packages" and set your own list: https://doc.dataiku.com/dss/latest/code-envs/operations-python.html#manage-packages

Screenshot 2021-03-01 at 21.11.41.png

In this example, I had installed pandas==1.1.5 what is not possible with core packages. 

I would recommend creating a new python code env with required python packages versions and use that code env with the projects you need. 

View solution in original post

0 Kudos
NagarajuVarkala
Level 1
Author

Thank you.

0 Kudos
A banner prompting to get Dataiku DSS