Cannot import name 'solve_triangular' from 'pytensor.tensor.linalg'

That suggests you have the latest version of numpy which is incompatible with pytensor, but if you had installed the latest pymc in a new environment that shouldn’t have happened.

Perhaps it’s just using the older version you had due to caching. Can you try forcing a more recent version?

conda create -c conda-forge -n pymc_env “pymc>=5.9.0”