为什么 Kivymd MDSwiper 发生未知 class 错误?

Why Kivymd MDSwiper is occuring unknown class error?

我是 kivymd 的新手,我正在使用 MDSwiper 进行测试。
但是当我 运行 我的代码时,它发生了一些错误。 我想我犯了一些愚蠢的错误,但我不知道如何解决这个问题。

我的代码:

from kivymd.app import MDApp
from kivy.lang.builder import Builder

KVstring = """
Screen:
    MDSwiper:
        MDSwiperItem:
            MDLabel:
                halign: "center"    
                text: "Hello MDswiper"
        MDSwiperItem:
            MDLabel:
                halign: "center"    
                text: "I hate Errors"
"""

class MainApp(MDApp):
    def build(self):
        screen1 = Builder.load_string(KVstring)
        return screen1

MainApp().run()

我的错误信息:

kivy.factory.FactoryException: Unknown class <MDSwiper>

谢谢。

从 master 分支重新安装 KivyMD 库:

pip uninstall kivymd

pip install https://github.com/kivymd/KivyMD/archive/master.zip