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

python

2017-sky
Level 1
python

How to install a third-party library in Python code

0 Kudos
1 Reply
sergeyd
Dataiker
Dataiker

Hi @2017-sky 

For the official python library (available on pypi.org for example), you should be able to pass just a name (or name==version for precise version) of the library in the list of requested packages within the code env: 

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

Screenshot 2022-05-02 at 10.53.01.png

For the custom libraries, you either need to pass them to the local artifactories and install from them or put them locally on the file system and pass them over as the absolute path in the requested list. 

0 Kudos