Module 'pymc' has no attribute 'CustomDist

You need to update the pymc version in that enviroment or switch environment. I don’t know the instructions from the top of my head but google should help you there.