0 votes
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?
asked by

1 Answer

0 votes

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)
answered by
919 questions
956 answers
953 comments
1,777 users