First, install
https://kivy.org/doc/stable/gettingstarted/intro.html
https://kivy.org/doc/stable/installation/installation-windows.html
NOTE: The update pip experience problems, refer to: https://blog.csdn.net/tscaxx/article/details/104253948
python -m pip install kivy==1.11.1
dos window execute the command
The installation is complete
Second, the test
https://kivy.org/doc/stable/guide/basic.html
import kivy
kivy.require('1.0.6') # replace with your current kivy version !
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__':
MyApp().run()
Note: If errors are reported, refer to:
ImportError: DLL load failed: The specified module could not be found
https://www.cnblogs.com/cofear/p/10799243.html
result: