Module 'pymc' has no attribute 'CustomDist

You probably have an old version of pymc, try to update it.