How to solve AttributeError: type object 'ModelBase' has no attribute 'metalearner'

Options

Hi, I have met the problem of AttributeError: type object 'ModelBase' has no attribute 'metalearner'. I tried to search the way and it just said that my h2o is older version. However, I have up to date and still cannot solve this problem.

The error console is below:
AttributeError Traceback (most recent call last)
in
10
11 # Show detail information of best model
---> 12 print(aml.leader.metalearner)

1 frames
/usr/local/lib/python3.8/dist-packages/h2o/utils/metaclass.py in getattr(self, name)
343 if name in self._bci:
344 return self._bci[name]
--> 345 return getattr(new_clz, name)
346
347 new_clz = extend_and_replace(clz, init=init, getattr=getattr)

/usr/local/lib/python3.8/dist-packages/h2o/utils/metaclass.py in getattribute(cls, name)
388 if attr is not MetaFeature.NOT_FOUND:
389 return attr
--> 390 return type.getattribute(cls, name)
391
392 def setattr(cls, name, value):

AttributeError: type object 'ModelBase' has no attribute 'metalearner'

What can I do for solving this problem?

Thanks !!!

Answers