Pymc import error - new installation

My .condarc from my mamba installation is:

channels:

  • conda-forge

I assumed that meant it pulled from conda-forge first. Is that correct?

That said, I have the same pytensor and pytensor-base versions in the environments that work and don’t work:

For pytensor, here is the conda list output from the environment that does work:

pytensor 2.23.0 py312h526ad5a_0
pytensor-base 2.25.2 py312h7122da0_0 conda-forge

and here is the output from the environment that doesn’t:

pytensor 2.23.0 py312h526ad5a_0
pytensor-base 2.25.2 py312h7122da0_0 conda-forge

In my installation of the one that does work:

mamba create -c conda-forge -n bayes2 “pymc>=5”

it pulled pytensor from pkgs/main anyway

  • pytensor-base 2.25.2 py312h7122da0_0 conda-forge Cached
  • h5netcdf 1.3.0 pyhd8ed1ab_0 conda-forge Cached
  • xarray 2024.6.0 pyhd8ed1ab_1 conda-forge Cached
  • xarray-einstats 0.7.0 pyhd8ed1ab_0 conda-forge Cached
  • arviz 0.19.0 pyhd8ed1ab_0 conda-forge Cached
  • pymc-base 5.16.2 pyhd8ed1ab_0 conda-forge Cached
  • pytensor 2.23.0 py312h526ad5a_0 pkgs/main Cached
  • pymc 5.16.2 hd8ed1ab_0 conda-forge Cached