KeyError Setting Mixture Proportions for Mixture Model

One last thing. In all of the examples you posted, no distribution had observed. That means that sample will not infer a posterior distribution. It will draw samples that should mimic the prior.