3

I have been advised to not mix conda-forge and anaconda channels in one environment. It causes dynamic library issue.

Can you please tell me :

  1. What this dynamic library issue is?
  2. What is the suggested way to handle an environment where packages from both the channels might be needed (for they are exclusively available in only one of the channels)
figs_and_nuts
  • 4,870
  • 2
  • 31
  • 56

1 Answers1

1

In my previous answer, I was only cautioning that sometimes there can be dynamic library issues, but not necessarily saying that one will occur. Such issues are known to occur (e.g., this question) because Conda packages are pre-compiled, but dynamically link to dependent libraries, rather than statically linking, and since the anaconda channel and the conda-forge channels use different build stacks, this can lead to reference to symbols that are specific to the channel's particular build of a library.

The suggested solution is to set channel_priority: strict, i.e.,

conda config --set channel_priority strict
merv
  • 67,214
  • 13
  • 180
  • 245