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

UserBird
Dataiker
Best practice to make system `conda` available to DSS?
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?
0 Kudos
1 Reply
Clรฉment_Stenac

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)

0 Kudos

Labels

?
Labels (1)
A banner prompting to get Dataiku