Conda tips
Installation
Instructions for installing conda on your system are available on https://docs.conda.io/projects/conda/en/stable/user-guide/install/
Prioritise downloading packages from conda-forge
It is often better to use the conda-forge channel for the packages we commonly use to ensure that we install the most up-to-date versions of packages that are compatible with eachother. More info on conda-forge here
By default, conda will prioritize downloading from the default channel, which could lead to conflicts or unresolvable environments if mixed with installs from conda-forge
To ensure that conda always prioritises installing from conda forge,
-
edit the
.condarcfile in your home directory to prioritiseconda-forgechannel_priority: strict channels: - conda-forge - defaults -
set the channel priority to strict
conda config --set channel_priority strict