Kivy Installization Guide
runcommand in Run
python -m pip install --upgrade pip wheel setuptools
python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew
python -m pip install kivy
Kivy - Package sample code
import kivy
kivy.require('1.9.0')
from kivy.app import App
from kivy.uix.button import Label
class HelloKivy(App):
def build(self):
return Label(text="Hello Kivy")
helloK = HelloKivy()
helloK.run()
runcommand in Run
python -m pip install --upgrade pip wheel setuptools
python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew
python -m pip install kivy
Kivy - Package sample code
import kivy
kivy.require('1.9.0')
from kivy.app import App
from kivy.uix.button import Label
class HelloKivy(App):
def build(self):
return Label(text="Hello Kivy")
helloK = HelloKivy()
helloK.run()
Comments
Post a Comment