刚接触Taichi,求助

gui = ti.ui.Gui(window.get_gui())
AttributeError: ‘Window’ object has no attribute ‘get_gui’
为什么会出现没有属性get_gui呢??