Почему это приложение выдаёт мне Exception: Invalid instance in App.root?

Мне нужно включить несколько лэйаутов в один в будущем, по-этому вариант из уже решенного вопроса мне не подходит:

from kivy.app import App
from calculate import *
from kivy.uix.anchorlayout import AnchorLayout
from kivy.uix.gridlayout import GridLayout
from kivy.config import Config
Config.set("graphics", "resizable", "0")


class MyRootWidget():
    pass

class uiApp(App):
    def build(self):
        app = MyRootWidget()
        return app

uiApp().run()
  BoxLayout:
    orientation: 'vertical'
    Button:
      text: "1"
    Button:
      text: "2"
    Button:
      text: '3'
    Button:
      text: '*'
    Button:
      text: '4'
    Button:
      text: '5'
    Button:
      text: '6'
    Button:
      text: '/'
    Button:
      text: '7'
    Button:
      text: '8'
    Button:
      text: '9'
    Button:
      text: '-'
    Button:
      text: '='
    Button:
      text: '0'
    Button:
      text: '+'
    Button:
      text: 'C'

Ответы (0 шт):