Default python packages
Hi ,
How to add a python package to default python installed packages list?
Thank you.
Best Answer
-
Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 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
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.
Answers
-
Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 Dataiker
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
-
Hi ,
The same we are doing currently. But, as per my use case i want to change the base/default package list.
-
Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 Dataiker
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.
-
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.
-
Thank you.