Problem installing cmdstanpy on a Mac

I am using cmdstanpy in a micromamba environment on a Mac running Sequoia 15.2

The core error message I get is:

Chain [1] dyld[973]: Symbol not found: __ZN3tbb4task13note_affinityEt

From scanning the web, it looks like it might be a cmdstan installation problem. But I am not sure what is causing it, or how to fix it. Any tips/suggestions welcome.

The full example notebook can be seen on my github page: https://github.com/bpalmer4/Australian-Federal-Election-2025/blob/main/notebooks/stan-test.ipynb

Thanks

The issue was that I had other build tools in my conda environment. With a narrowly specified environment, it works as intended.