python

Options
2017-sky
2017-sky Registered Posts: 11 ✭✭✭

How to install a third-party library in Python code

Answers

  • Sergey
    Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 Dataiker
    Options

    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.

Setup Info
    Tags
      Help me…