AttributeError: cannot assign module before Module.__init__() call https://stackoverflow.com/questions/43080583/attributeerror-cannot-assign-module-before-module-init-call 没有对继承的父类的属性进行初始化。