Conda Numpy dependency issue
The symptoms are:
numpy: 1.11.3-py37he5ce36f_1207 conda-forge
numpy-base: 1.18.5-py37h2f8d375_0 defaults
This is wrong as we get two instances of Numpy in the env (and a lots of clobber warnings) and it ends up not being detected by CMake. This is my experience when building with the PCO package...
We use conda-devel
which is the correct way to work with numpy from C when using Anaconda (defaults
) channel.
But these days we use conda-forge, and conda-forge works differently regarding Numpy, aka it does not have a conda-devel
.
https://conda-forge.org/docs/maintainer/knowledge_base.html#linking-numpy
I opened an issue on conda-forge to discuss the discrepancy: