Best practice to make system `conda` available to DSS?

UserBird
UserBird Dataiker, Alpha Tester Posts: 535 Dataiker
What would be the best practice to make my system `conda` available to DSS?

Adding `conda`'s path to PATH does not always work (ie. using DSS virtualbox image, where DSS launches at server startup).

I ended up creating a symlink of `conda` in /dss/bin/, but is that good practice? Or is there a better way?

Answers

  • Clément_Stenac
    Clément_Stenac Dataiker, Dataiku DSS Core Designer, Registered Posts: 753 Dataiker
    edited July 17

    Hi,



    The best practice is to put it in your ~/.profile with a line like:

    export PATH="$PATH:/path/to/conda/bin/directory"


    This way:

    • All tools get it, including things not directly running in DSS (installer, ...)
    • Putting it at the end of your path avoids your system python being shadowed by conda's Python (which cannot do virtual envs)
Setup Info
    Tags
      Help me…