Best practice to make system `conda` available to DSS?
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?
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?
Tagged:
Answers
-
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)