Kivy Tutorial #1 – How to Create Mobile Apps With Python

///Kivy Tutorial #1 – How to Create Mobile Apps With Python

Kivy Tutorial #1 – How to Create Mobile Apps With Python

FavoriteLoadingAdd to favorites

This kivy tutorial covers how to create mobile apps using python. Kivy allows for development of cross compatible apps using python and the kv language. It is fairly straight forward to use and is very powerful. ⭐ Kite is a free AI-powered coding assistant for Python that will help you code smarter and faster. Integrates with Atom, PyCharm, VS Code, Sublime, Vim, and Spyder. I’ve been using Kite for 6 months and I love it!

Text-Based Tutorial:

Looking to learn python? Enroll in my course!

PIP Commands:
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.deps.gstreamer
python -m pip install kivy.deps.angle
python -m pip install pygame
python -m pip install kivy

Python OOP Tutorials:

**************************************************************
WEBSITE:

proXPN VPN:
Use the Code “SAVE6144” For 50% Off!

One-Time Donations:

Support the Channel:

Twitter:

Join my discord server:
**************************************************************

Please leave a LIKE and SUBSCRIBE for more content!

Tags:
– Tech With Tim
– Kivy Tutorial
– How to create apps with python
– Kivy tutorial python
– Python kivy tutorial

source

By |2021-01-02T11:37:41+00:00January 2nd, 2021|Python Video Tutorials|34 Comments

34 Comments

  1. Tech With Tim January 2, 2021 at 11:37 am - Reply

    Check out my new podcast! https://anchor.fm/tech-with-tim

  2. GurgMaster January 2, 2021 at 11:37 am - Reply

    Finally someone who bothers with the "what if you haven't got this on your system". Can't tell you how many times I've come unstuck with some tutorial before first base – actually, before I could find my bat in the dug out.

  3. Annette Planells January 2, 2021 at 11:37 am - Reply

    Thanks for the video, I tried to run the program on a windows 2012 server, and it's giving this error

    [CRITICAL] [Window ] Unable to find any valuable Window provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes

    sdl2 – ImportError: DLL load failed while importing cgl_glew: The specified module could not be found.

    File "C:UsersannetteAppDataRoamingPythonPython39site-packageskivycore__init__.py", line 70, in core_select_lib

    cls = cls()

    File "C:UsersannetteAppDataRoamingPythonPython39site-packageskivycorewindowwindow_sdl2.py", line 152, in _init_

    super(WindowSDL, self).__init__()

    File "C:UsersannetteAppDataRoamingPythonPython39site-packageskivycorewindow_init__.py", line 982, in __init_

    self.create_window()

    File "C:UsersannetteAppDataRoamingPythonPython39site-packageskivycorewindowwindow_sdl2.py", line 289, in create_window

    self.get_gl_backend_name())

    File "C:UsersannetteAppDataRoamingPythonPython39site-packageskivycorewindow__init__.py", line 1228, in get_gl_backend_name

    return cgl_get_backend_name(

    File "kivygraphicscgl.pyx", line 56, in kivy.graphics.cgl.cgl_get_backend_name

    File "kivygraphicscgl.pyx", line 69, in kivy.graphics.cgl.cgl_get_backend_name

    File "C:Program FilesPython39libimportlib__init__.py", line 127, in import_module

    return _bootstrap._gcd_import(name[level:], package, level)

    File "<frozen importlib._bootstrap>", line 1030, in _gcd_import

    File "<frozen importlib._bootstrap>", line 1007, in _find_and_load

    File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked

    File "<frozen importlib._bootstrap>", line 666, in _load_unlocked

    File "<frozen importlib._bootstrap>", line 565, in module_from_spec

    File "<frozen importlib._bootstrap_external>", line 1108, in create_module

    File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed

    [CRITICAL] [App ] Unable to get a Window, abort.

    Process finished with exit code 1

  4. Harckepy January 2, 2021 at 11:37 am - Reply

    How do I do on phone

  5. Muzi Naughty January 2, 2021 at 11:37 am - Reply

    You are awsome bro, explaining small points like no one on internet does

  6. RODRIGO Amesty January 2, 2021 at 11:37 am - Reply

    for mac users use 'pip3 install kivy' or 'pip install kivy' in the computer terminal

  7. CDI_Provider January 2, 2021 at 11:37 am - Reply

    Hi! I have some trouble when I start the program. There isn't any window popping off. What should I do?

  8. Carlette WOUMBA January 2, 2021 at 11:37 am - Reply

    Can we integrate PyQt5 classes in Kivy ?

  9. Carlette WOUMBA January 2, 2021 at 11:37 am - Reply

    is this module better than ChaQuoPy ?

  10. C J January 2, 2021 at 11:37 am - Reply

    Do I also have to install:
    python -m pip install pygame
    Because it is listed in the description, Im sorry Im just new to this

  11. Vuong Nguyenduc January 2, 2021 at 11:37 am - Reply

    I am having a problem like this example

    Can you help me fix it

    Link: https://www.reddit.com/r/kivy/comments/8abti3/difficulty_with_initial_set_up/

    thank all!!

  12. Vuong Nguyenduc January 2, 2021 at 11:37 am - Reply

    C:UsersDucVuong_autoDesktopapp_mobile_pythonvenvScriptspython.exe C:/Users/DucVuong_auto/Desktop/app_mobile_python/app_webview.py

    [INFO ] [Logger ] Record log in C:UsersDucVuong_auto.kivylogskivy_20-12-18_50.txt

    [INFO ] [deps ] Successfully imported "kivy_deps.gstreamer" 0.3.1

    [INFO ] [deps ] Successfully imported "kivy_deps.angle" 0.3.0

    [INFO ] [deps ] Successfully imported "kivy_deps.glew" 0.3.0

    [INFO ] [deps ] Successfully imported "kivy_deps.sdl2" 0.3.1

    [INFO ] [Kivy ] v2.0.0

    [INFO ] [Kivy ] Installed at "C:UsersDucVuong_autoAppDataLocalProgramsPythonPython37-32libsite-packageskivy__init__.py"

    [INFO ] [Python ] v3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 19:29:22) [MSC v.1916 32 bit (Intel)]

    [INFO ] [Python ] Interpreter at "C:UsersDucVuong_autoDesktopapp_mobile_pythonvenvScriptspython.exe"

    [INFO ] [Factory ] 186 symbols loaded

    [INFO ] [Image ] Providers: img_tex, img_dds (img_sdl2, img_pil, img_ffpyplayer ignored)

    [CRITICAL] [Text ] Unable to find any valuable Text provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes

    sdl2 – ImportError: DLL load failed: The specified module could not be found.

    File "C:UsersDucVuong_autoAppDataLocalProgramsPythonPython37-32libsite-packageskivycore__init__.py", line 62, in core_select_lib

    fromlist=[modulename], level=0)

    File "C:UsersDucVuong_autoAppDataLocalProgramsPythonPython37-32libsite-packageskivycoretexttext_sdl2.py", line 13, in <module>

    from kivy.core.text._text_sdl2 import (_SurfaceContainer, _get_extents,

    pil – ModuleNotFoundError: No module named 'PIL'

    File "C:UsersDucVuong_autoAppDataLocalProgramsPythonPython37-32libsite-packageskivycore__init__.py", line 62, in core_select_lib

    fromlist=[modulename], level=0)

    File "C:UsersDucVuong_autoAppDataLocalProgramsPythonPython37-32libsite-packageskivycoretexttext_pil.py", line 7, in <module>

    from PIL import Image, ImageFont, ImageDraw

    [CRITICAL] [App ] Unable to get a Text provider, abort.

    Process finished with exit code 1

    Hello, I'm having some difficulty launching kivy for the "first" time. I'm using kivy in another program, but when I created a new project in PyCharm, I needed to reinstall kivy
    help me!!!
    thank all

  13. Faraz Ahmad January 2, 2021 at 11:37 am - Reply

    First command already satisfied and uninstall my best version

  14. SURYA KUMAR January 2, 2021 at 11:37 am - Reply

    fuck kivy is not supported in python 3.8.0 and greater.

  15. SURYA KUMAR January 2, 2021 at 11:37 am - Reply

    https://github.com/kivy/kivy/issues/6563
    if installation error occuring follow this.

  16. rwbazillion January 2, 2021 at 11:37 am - Reply

    I had a problem installing kivy. this was a good youTube video just in case. https://www.youtube.com/watch?v=LDnRhg9OywU

  17. Syed Mohiuddin January 2, 2021 at 11:37 am - Reply

    when I run pip install kivy it gives me an error (python 3.9) even though I installed all the dependencies you mentioned.

  18. Ivan Mukherjee January 2, 2021 at 11:37 am - Reply

    python -m pip install docutils pygments this command is not working for me what should I do? Please help

  19. Maaz Hunter January 2, 2021 at 11:37 am - Reply

    if any error while installing any packages or kivy use this command it will solve all issues
    "pip install kivy[base] kivy_examples –pre –extra-index-url https://kivy.org/downloads/simple/"

  20. Caneta January 2, 2021 at 11:37 am - Reply

    Just bringing Vaibhav Mallawat comment to the top. Try python -m pip install kivy==2.0.0rc4 if you get "ERROR: Could not find a version that satisfies the requirement kivy_deps.sdl2==0.1.*"

  21. Neilcourtwalker January 2, 2021 at 11:37 am - Reply

    Thanks a lot for your work. I would like to know if there are any limitations what you can do with kivy?

  22. Anika Gupta January 2, 2021 at 11:37 am - Reply

    I keep getting the following error :

    [CRITICAL] [App ] Unable to get a Window, abort.

    What should I do? I definitely have all of the PIP commands installed successfully but when I run the code then it shows this error. Thank you.

  23. Apex Predator January 2, 2021 at 11:37 am - Reply

    help pycharm keeps giving me a module not found erro 😥😥😥

  24. Calibur 55 January 2, 2021 at 11:37 am - Reply

    if you guys have this error > DLL load failed while importing _text_sdl2

    go to pycharm terminal and paste these two commands :

    1 – pip install docutils pygments pypiwin32 kivy_deps.sdl2==0.1.* kivy_deps.glew==0.1.*
    2-pip install kivy_deps.gstreamer==0.1.*

  25. Koton Bads January 2, 2021 at 11:37 am - Reply

    Guys, if you use a newer version of Python, use pip install kivy[base] kivy_examples –pre –extra-index-url https://kivy.org/downloads/simple/ to download directly from their server

  26. Ford GT90 1 January 2, 2021 at 11:37 am - Reply

    For someone that having error while installing kivy, you can try this: pip install pipwin. If you have installed pipwin, then type this in cmd: pipwin install kivy. Hope it's helping you guys. 🙂

  27. Koton Bads January 2, 2021 at 11:37 am - Reply

    If cmd is screaming at you to add Python to PATH, go to the app data folder >> Python >> Python[insert version] >> Scripts. Copy the address, open control panel, search for 'environment', click on path, click edit, click new, paste the address, then click ok, then click ok again (there's 2)

  28. Ryo Boi January 2, 2021 at 11:37 am - Reply

    Pip command doesn’t work before or after I modified the python file, any fixes?

  29. PacseGaming January 2, 2021 at 11:37 am - Reply

    does it work in visual studio code?

  30. Santiago de Olaso January 2, 2021 at 11:37 am - Reply

    Thanks for the video! Really excited to start to get deeper into Kivy!!

  31. Uncle Paludan January 2, 2021 at 11:37 am - Reply

    iiiit's Timmy Tech TIMEEEEE!

  32. Hashim Aljifri January 2, 2021 at 11:37 am - Reply

    Pip install kivy #THE application was unable to start correctly (0xc0000007b) click okay to close the application… That's unfortunate

  33. Arjun Dev Singh January 2, 2021 at 11:37 am - Reply

    meaning on Python IDLE

  34. Arjun Dev Singh January 2, 2021 at 11:37 am - Reply

    Hello Tim your code is not working on Python

Leave A Comment

*