报错:TypeError: dist must be a Distribution instance 解决方案: 参考博客:https://www.cnblogs.com/marvin007/archive/2013/09/20/3330552.html