RSE-Sheffield / conda-environments-for-effective-and-reproducible-research

Introduction to Conda for (Data) Scientists
https://rse.shef.ac.uk/conda-environments-for-effective-and-reproducible-research/
Other
0 stars 2 forks source link

Consider expanding on check for installation #17

Open ns-rse opened 1 year ago

ns-rse commented 1 year ago

Not everyone allows conda to manipulate their ${PATH} during installation by making additions to ~/.bashrc/~/.zshrc so that conda is in their ${PATH}.

This means that which conda (under Check to see if conda is already installed) may fail to return values even if conda is installed.

Consider improving the documentation to cover this scenario although it would also require explaining not allowing the installer to modify ~/.bashrc/~/.zshrc during installation/initial setup and how to then invoke conda directly (e.g. via absolute path such as ~/miniconda/bin/conda).

This may depend on the behaviour of the installer and whether additions to ~/.bashrc/~/.zshrc result in the base environment being activated automatically.

Thanks @willfurnass :+1: