为什么kivy没有在python中打包?

时间:2019-05-23 05:26:41

标签: python kivy

import kivy

#kivy.require('1.10.1') # replace with your current kivy version !
#from kivy.deps import sdl2, glew

from kivy.app import App
from kivy.uix.label import Label


class MyApp(App):

    def build(self):
        return Label(text='Hello world')
if(__name__=="__main__"):` from kivy.app import App
ModuleNotFoundError: No module named 'kivy.app'; 'kivy' is not a package`
    MyApp().run() 

0 个答案:

没有答案