Not sure if you have already seen Installation Guide (Windows) · pymc-devs/pymc Wiki · GitHub. In case you haven’t it might be worth a try.
The first thing I’d recommend is to use separated conda environments and try to install as little things as possible. If you are using pymc 3.11.4 you need theano-pymc but no aesara at all, and in fact it’s recommended to not install it to avoid install/version issues with downstream dependencies of both packages. If tensorflow is not needed at the same time as pymc, I’d also avoid installing it in this environment.
I hope it helps a bit, I can’t help with anything related to flags though.