▶️ Watch Entire Kivy Playlist ✅ Subscribe To My UA-cam Channel: bit.ly/37LrJ27 bit.ly/2IGzvOR ▶️ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt! Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN ▶️ Get The Code bit.ly/2NtRfRC
I'm working with Python since quite a time now, but I just started in making graphical userinterfaces, so your tutorials come in very handy. They are well explained and quite understandable
Literally I am super excited after seeing this demo application made from kivy md. Hope you will teach in the same way as you taught kivy . Huge Love and respect from Nepal Jhon .
For those having trouble finding and installing the KitchenSink demo: pip install kivymd==0.104.2 If you're also getting an error that Kivy needs to be 2.2.0 or greater, install the latest "cutting-edge" nightly build using the '--pre' argument in the two lines shown on the Kivy install webpage. Note: you can replace [base] with [base,media] or [full]. I used [full]. Although I installed Python 3.10.9 into the virtual environment, I probably could have installed 3.11+, since the Kivy 2.2.0 nightlies support it. However, there might be more bugs while they're working towards full support. John, sorry if you deleted my comment and I'm reposting it. I figure UA-cam may have removed it because the pip install commands contained links to the kivy website.
On the installation tutorials I've always had issues with modules not working or modules having import errors in my code editor. The solution for me was to ensure that the workspace noted in the code editor was the directory(folder) which the virtual environment was saved in. In this case that would be kivymd or whatever you put after the mkdir function in the git terminal. After that you need to manually change the python interpreter to the python virtual environment by selecting the interpreter path with your virt env. Just youtube setup virtual environment in visual studio code if still dont understand.
getting this Exception: The version of Kivy installed on this system is too old. (You have 2.2.0, but the application requires 2.2.1) but there exist no 2.2.1 . what to be done then ?
I followed every single step from the tutorial and from the github page, but I do not see any 'demos' folder. Is it gone from github or am I doing something wrong?
brather the Cmd show me a error H:\cmder\KivyMd>source venv/Scripts/activate 'source' is not recognized as an internal or external command, operable program or batch file. plz i waiting you plz
I am getting an error while running my code. Cannot import name MdAdaptiveWidget from kivymd.uix What doe this mean? My window is not getting displayed because of this error. Can you help me fix this please?
The latest version of KitchenSink doesn't run as-is. The error reads as follows: Traceback (most recent call last): File "kivy\properties.pyx", line 961, in kivy.properties.ObservableDict.__getattr__ KeyError: 'menu_list' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "...\KitchenSink-main\main.py", line 37, in KitchenSink().run() File "...\AppData\Roaming\Python\Python310\site-packages\kivy\app.py", line 955, in run self._run_prepare() File "...\AppData\Roaming\Python\Python310\site-packages\kivy\app.py", line 925, in _run_prepare root = self.build() File "...\KitchenSink-main\main.py", line 33, in build self.manager_screen.add_widget(self.manager_screen.create_screen("menu")) File "...\AppData\Roaming\Python\Python310\site-packages\kivy\uix\screenmanager.py", line 1001, in add_widget self.current = widget.name File "kivy\properties.pyx", line 520, in kivy.properties.Property.__set__ File "kivy\properties.pyx", line 567, in kivy.properties.Property.set File "kivy\properties.pyx", line 606, in kivy.properties.Property._dispatch File "kivy\_event.pyx", line 1307, in kivy._event.EventObservers.dispatch File "kivy\_event.pyx", line 1213, in kivy._event.EventObservers._dispatch File "...\KitchenSink-main\View\ManagerScreen\manager_screen.py", line 27, in on_current super().on_current(*args) File "...\AppData\Roaming\Python\Python310\site-packages\kivy\uix\screenmanager.py", line 1069, in on_current screen.dispatch('on_enter') File "kivy\_event.pyx", line 731, in kivy._event.EventDispatcher.dispatch File "...\KitchenSink-main\View\MenuScreen\menu_screen.py", line 10, in on_enter if not self.ids.menu_list.data: File "kivy\properties.pyx", line 964, in kivy.properties.ObservableDict.__getattr__ AttributeError: 'super' object has no attribute '__getattr__'. Did you mean: '__setattr__'?
I'm trying to use kivymd. I've done the installation procedure but my app have run once. Since then i always get this error messenge "The version of Kivy installed on this system is too old. (You have 2.1.0, but the application requires 2.2.0)". Does anyone knows what's wrong?
When i try to run my code i get an error saying " Exception: The version of Kivy installed on this system is too old. (You have 2.1.0, but the application requires 2.2.0)" and the version it requires is not even available 😬😬😬
@@Codemycom i've tried to do that there is no version 2.2.0 i tried installing a lower version of kivymd but the error changed to an ERRNO 2 error (FileNotFound)
Hey! Having the same issue and wondering if you made it work? I think they replaced demos with .ideas but I cannot find the Kitchensink application. Tried to install an earlier version of KivyMD but I'm quite new to this and it didn't seem to work.
Does anyone know where this version of the Kitchen Sink demo went to? There is another kivymd KitchenSink on github but it isn't this same showcase. Would this one be on an earlier commit?
The version of KivyMD John installed is 0.104.2. I can see and download the demos folder in that version on github. However, running the KitchenSink app throws an exception that Kivy 2.2.0 is required. The install script automatically installed 2.1.0. I'm running Python 3.10.9 in my virtual environment and KivyMD 1.1.1.
Already have the solution (just in case somebody has the same problem). Follow the path to the kivytoast.py file and change line 89 to: def label_check_texture_size(self, instance_label: Label, texture_size: list([int, int])) -> NoReturn: (The difference is the parenthesis after list). That should do it. Thanks to stackoverflow for the solution.
Can I put "source virt/scripts/activate" in some kind of batch file so I don't have to keep typing that out all the time? .bat files don't run in GitBash, what files do run - has GitBash an equivalent of a .bat file?
@@Codemycom $ pip install kivy==2.2.0 ERROR: Could not find a version that satisfies the requirement kivy==2.2.0 (from versions: 1.0.1a0, 1.0.2a0, 1.0.3a0, 1.0.4b0, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.11.0rc1, 1.11.0rc2, 1.11.0, 1.11.1, 2.0.0rc1, 2.0.0rc2, 2.0.0rc3, 2.0.0rc4, 2.0.0, 2.1.0.dev0, 2.1.0rc1, 2.1.0rc2, 2.1.0rc3, 2.1.0) ERROR: No matching distribution found for kivy==2.2.0 WARNING: You are using pip version 21.2.4; however, version 23.0.1 is available. You should consider upgrading via the 'C:\kivymd3\virt\Scripts\python.exe -m pip install --upgrade pip' command.
This is a good educational coding experience❤. But I got a problem on installing KiwyMD in github, because in that, there is no any folder like demos in github site. Sir, Can you please help me to solve this?
Hello, How can i contact you? Because i was trying something for a school project and to my job as well, but i can't do one little thing and i was in hope that you could help me. Best Reggards, Durão
When I run 'pip install .' I'm getting this error: ERROR: Command errored out with exit status 1: 'c:\kivymd2\virt\scripts\python.exe' 'c:\kivymd2\virt\lib\site-packages\pip\_vendor\pep517\_in_process.py' get_requires_for_build_wheel 'C:\Users\RAMESH\AppData\Local\Temp\tmpx9zpojsp' Check the logs for full command output.
@@Codemycom sir just me in yes or no and if we can't do everything in kivy what we can do with tkinter please tell me how many about how many percent we can do with kivy
Why am I getting this error when I run main.py ? from libs.baseclass.dialog_change_theme import ( File "C:\kivymd\KivyMD\demos\kitchen_sink\libs\baseclass\dialog_change_theme.py", line 7, in from kivymd.color_definitions import colors, palette ModuleNotFoundError: No module named 'kivymd'
@@Codemycom Sir I installed it, I followed every step! I even repeated the whole process from creating a virtual environment, the virtual environment is activated too as I can see (virt) at the end of each statement
@@Codemycom Sir on checking with pip freeze cmd I can see kivy md missing under KivyMD but I ran all the 3 cmds from GitHub as u did in this video. How to rectify it?
@@Codemycom Now after I ran "pip install kivymd==0.104.2" It seems to work fine but since u didn't use that in this tutorial will I have any future issues?
▶️ Watch Entire Kivy Playlist ✅ Subscribe To My UA-cam Channel:
bit.ly/37LrJ27 bit.ly/2IGzvOR
▶️ See More At: ✅ Join My Facebook Group:
Codemy.com bit.ly/2GFmOBz
▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt!
Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN
▶️ Get The Code
bit.ly/2NtRfRC
I just discovered Kivy and KivyMD this past weekend and am excited to learn how to build mobile apps with Python, thank you for making these videos!
Hope you like them!
@@Codemycom What is your kivymd version
I'm working with Python since quite a time now, but I just started in making graphical userinterfaces, so your tutorials come in very handy. They are well explained and quite understandable
Literally I am super excited after seeing this demo application made from kivy md. Hope you will teach in the same way as you taught kivy . Huge Love and respect from Nepal Jhon .
For those having trouble finding and installing the KitchenSink demo:
pip install kivymd==0.104.2
If you're also getting an error that Kivy needs to be 2.2.0 or greater, install the latest "cutting-edge" nightly build using the '--pre' argument in the two lines shown on the Kivy install webpage.
Note: you can replace [base] with [base,media] or [full]. I used [full].
Although I installed Python 3.10.9 into the virtual environment, I probably could have installed 3.11+, since the Kivy 2.2.0 nightlies support it. However, there might be more bugs while they're working towards full support.
John, sorry if you deleted my comment and I'm reposting it. I figure UA-cam may have removed it because the pip install commands contained links to the kivy website.
if you try doing this you get a module not found error, No module named "kivymd.utils.set_bars_colours
@@FatKhazar I don't know, it worked for me. Would be interesting to know whether the problem comes from a software thing or other...
One of the best series regarding Kivy, just like your series on tkinter. Great videos.
Thanks! I appreciate it!
Yay! You are the best teacher Heisenberg!
Thanks!
The tutorial I was waiting for 😊
Awesome
Looks cool. after your Tkinter tutorials this one seems more interesting not gonna lie
Ha
Yeah.... eagerly waiting for your end2end kivymd videos
in kivymd demos folder doesn't exists
Thanks So Much Brother..
I have finally decided to subcribe to you channel for you have helped me alot
Appreciate it!
There is no demo files :( I could not find kitchen sink
This is exactly what I need at this point. Thanks!!!
Glad you liked it!
I am wating for advanced tutorial of KivyMD 😊
I followed your steps but demos is not shown along with docs and KivyMD when I type ls
Make sure you install the same version as me.
How do I get the same version as your
@@sumijohn1834 the same way you pip install any specific version: pip install whatever==version_number
For those who are crazy (like i was before finding it XD) about the demo is available in the play store
I smöshed the liked button for you, you beautiful genius...
lol thanks!
Yes I like this python for android
Any chance you could go into the EventDispatcher class and how to use/inherit it to create reporter classes in kivy?
I am having a consistent error of:
from kivymd.app import MDApp
ModuleNotFoundError: No module named 'kivymd.app
Any help?
Have you installed kivy inside a virtual environment, and have you turned that virtual environment on?
@@Codemycom thanks for replying but I figured it out. It was an installation error
On the installation tutorials I've always had issues with modules not working or modules having import errors in my code editor. The solution for me was to ensure that the workspace noted in the code editor was the directory(folder) which the virtual environment was saved in. In this case that would be kivymd or whatever you put after the mkdir function in the git terminal. After that you need to manually change the python interpreter to the python virtual environment by selecting the interpreter path with your virt env. Just youtube setup virtual environment in visual studio code if still dont understand.
getting this Exception: The version of Kivy installed on this system is too old. (You have 2.2.0, but the application requires 2.2.1) but there exist no 2.2.1 . what to be done then ?
i am sorry for late. very happy birthday....
we hope database activity with kivy....
no demos, what to do ?
same thing with me
Hello sir , Thank you for your videos
👉👉I can't find demos folder 👈👈
Welcome... rewatch the video and try again.
I think they removed the demos folder.
@@rickiberthelsen1466 nope
@@rickiberthelsen1466 got this same issue
@@szymczakow same problem
I'm new to your channel - great video - thanks !
John, can I use KivyMD to create Windows PC apps, or just Android smart phone apps?
These videos all show me making windows apps
I followed every single step from the tutorial and from the github page, but I do not see any 'demos' folder. Is it gone from github or am I doing something wrong?
You're installing a newer version that doesn't have the demos folder. Try installing the older version.
brather the Cmd show me a error
H:\cmder\KivyMd>source venv/Scripts/activate
'source' is not recognized as an internal or external command,
operable program or batch file.
plz i waiting you plz
Don't use CMD
I am getting an error while running my code.
Cannot import name MdAdaptiveWidget from kivymd.uix
What doe this mean? My window is not getting displayed because of this error.
Can you help me fix this please?
What did you do differently from the video?
The latest version of KitchenSink doesn't run as-is. The error reads as follows:
Traceback (most recent call last):
File "kivy\properties.pyx", line 961, in kivy.properties.ObservableDict.__getattr__
KeyError: 'menu_list'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "...\KitchenSink-main\main.py", line 37, in
KitchenSink().run()
File "...\AppData\Roaming\Python\Python310\site-packages\kivy\app.py", line 955, in run
self._run_prepare()
File "...\AppData\Roaming\Python\Python310\site-packages\kivy\app.py", line 925, in _run_prepare
root = self.build()
File "...\KitchenSink-main\main.py", line 33, in build
self.manager_screen.add_widget(self.manager_screen.create_screen("menu"))
File "...\AppData\Roaming\Python\Python310\site-packages\kivy\uix\screenmanager.py", line 1001, in add_widget
self.current = widget.name
File "kivy\properties.pyx", line 520, in kivy.properties.Property.__set__
File "kivy\properties.pyx", line 567, in kivy.properties.Property.set
File "kivy\properties.pyx", line 606, in kivy.properties.Property._dispatch
File "kivy\_event.pyx", line 1307, in kivy._event.EventObservers.dispatch
File "kivy\_event.pyx", line 1213, in kivy._event.EventObservers._dispatch
File "...\KitchenSink-main\View\ManagerScreen\manager_screen.py", line 27, in on_current
super().on_current(*args)
File "...\AppData\Roaming\Python\Python310\site-packages\kivy\uix\screenmanager.py", line 1069, in on_current
screen.dispatch('on_enter')
File "kivy\_event.pyx", line 731, in kivy._event.EventDispatcher.dispatch
File "...\KitchenSink-main\View\MenuScreen\menu_screen.py", line 10, in on_enter
if not self.ids.menu_list.data:
File "kivy\properties.pyx", line 964, in kivy.properties.ObservableDict.__getattr__
AttributeError: 'super' object has no attribute '__getattr__'. Did you mean: '__setattr__'?
Hi i have a problem I'm using pycharm I don't know how to create a new virtual environment , help me plz 😊
Sorry, I don't use or recommend pycharm. Why not use the tools that I use in the video? They're free and they actually work.
the kitchen sink that i m getting is completely different from urs & it feels very useless...plz tell me how to get the one u have?
install the same version of kivy that I do
kivyMD demos not available. how to install it?
Hello sir, I tried to install kivymd has u guided in this video but "demos" File was missing.... Whyy?
Maybe the latest version of kivy doesn't have it, or moved it. You can download an older version if you want.
Kk sir thanku for ur precious reply....
amazing!
Thanks!
I'm trying to use kivymd. I've done the installation procedure but my app have run once. Since then i always get this error messenge "The version of Kivy installed on this system is too old. (You have 2.1.0, but the application requires 2.2.0)". Does anyone knows what's wrong?
when i try to install it. it says ('git' is not recognized)
If you want to use git you need the git bash terminal...but I don’t think you need that to install kivy, right?
@@Codemycom yes i don't need it. I installed it without git. Thanks for your reply.
When i try to run my code i get an error saying " Exception: The version of Kivy installed on this system is too old. (You have 2.1.0, but the application requires 2.2.0)"
and the version it requires is not even available 😬😬😬
Just upgrade to the latest version.
@@Codemycom i've tried to do that there is no version 2.2.0 i tried installing a lower version of kivymd but the error changed to an ERRNO 2 error (FileNotFound)
@@goodnessgushe680 Just install the latest version.
I don't have the demo folder
Are you sure?
@@Codemycom yeah
@@Alex-dg3nc You can install the same version I do in the video if you're worried about it...
hi, bro i. ON running kitchen sink I am getting error no module name 'kivy'. how can I resolve the issue?
Sounds like you forgot to turn on your virtual environment.
Hey I need help there is no demos inside my Kivymd file idk why
Hey! Having the same issue and wondering if you made it work? I think they replaced demos with .ideas but I cannot find the Kitchensink application. Tried to install an earlier version of KivyMD but I'm quite new to this and it didn't seem to work.
Does anyone know where this version of the Kitchen Sink demo went to? There is another kivymd KitchenSink on github but it isn't this same showcase. Would this one be on an earlier commit?
Yeah use the earlier version that I'm using in these videos.
The version of KivyMD John installed is 0.104.2. I can see and download the demos folder in that version on github. However, running the KitchenSink app throws an exception that Kivy 2.2.0 is required. The install script automatically installed 2.1.0. I'm running Python 3.10.9 in my virtual environment and KivyMD 1.1.1.
I have a problem when I try to run kitchen_sink. I get the error:
TypeError: 'type' object is not subscriptable
Any idea what could be happening?
Already have the solution (just in case somebody has the same problem). Follow the path to the kivytoast.py file and change line 89 to:
def label_check_texture_size(self, instance_label: Label, texture_size: list([int, int])) -> NoReturn:
(The difference is the parenthesis after list). That should do it.
Thanks to stackoverflow for the solution.
@@facilvenir interesting
Please can KivyMD be used for desktop apps like windows, Mac book ...?
of course...that's exactly what we're doing in all these videos.
Can I put "source virt/scripts/activate" in some kind of batch file so I don't have to keep typing that out all the time? .bat files don't run in GitBash, what files do run - has GitBash an equivalent of a .bat file?
it's too much for you to type? lol good god man... wtf?
@Codemycom What version is your kivmd?
The video shows it as 0.104.1
@@Codemycom Thank you so much! I was having so many problems as the mdtoolbar and many others have been removed from the new version of kivy 1.2.0
I am getting error after all steps performing i.e. ValueError: source code string can not contain null bytes...
What to do now?
Not sure what you did...
@@Codemycom yes got it, instead of capital p I was written small p in during installing Pillow...
Can you show us how to convert kivy file to apk file?
Later video, be patient. You can look up bulldozer and read the docs, just make sure you download the github repo, not from pypi.
How to download Kivy 2.2.0 ? I couldnt find it anywhere
pip install kivy==2.2.0
@@Codemycom didnt work
@@MazenItani then you did it wrong. it has to be exactly as I typed it. No spaces etc. That's the only way to do it, it has to work.
@@Codemycom thanks my friend, I will try again
@@Codemycom
$ pip install kivy==2.2.0
ERROR: Could not find a version that satisfies the requirement kivy==2.2.0 (from versions: 1.0.1a0, 1.0.2a0, 1.0.3a0, 1.0.4b0, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.11.0rc1, 1.11.0rc2, 1.11.0, 1.11.1, 2.0.0rc1, 2.0.0rc2, 2.0.0rc3, 2.0.0rc4, 2.0.0, 2.1.0.dev0, 2.1.0rc1, 2.1.0rc2, 2.1.0rc3, 2.1.0)
ERROR: No matching distribution found for kivy==2.2.0
WARNING: You are using pip version 21.2.4; however, version 23.0.1 is available.
You should consider upgrading via the 'C:\kivymd3\virt\Scripts\python.exe -m pip install --upgrade pip' command.
First view like and share......
Nice
This is a good educational coding experience❤. But I got a problem on installing KiwyMD in github, because in that, there is no any folder like demos in github site. Sir, Can you please help me to solve this?
you have to install the older version to get that
@@Codemycom Thank you. Sir.
Fantastic
Thanks!
sir i didnt get demos
plz help me
Hello,
How can i contact you?
Because i was trying something for a school project and to my job as well, but i can't do one little thing and i was in hope that you could help me.
Best Reggards,
Durão
Sorry, I don't help people with their school projects.
@@Codemycom its acctualy to my job, but i will use it to a school project because it is something that they allow
When I run 'pip install .' I'm getting this error:
ERROR: Command errored out with exit status 1: 'c:\kivymd2\virt\scripts\python.exe' 'c:\kivymd2\virt\lib\site-packages\pip\_vendor\pep517\_in_process.py' get_requires_for_build_wheel 'C:\Users\RAMESH\AppData\Local\Temp\tmpx9zpojsp' Check the logs for full command output.
Are you using different tools than me?
No sir I'm exactly following the tutorial
P.S. I'm the same person, I couldn't reply with the other account for some reason
@@sripriyar3916 You're using git bash downloaded from git-scm.com?
Thank u sir
Very welcome
Sir we can do gui dev with both kivy and tkinter sir please tell me can i everything with kivy which is possible with tkinter
I couldn't possibly tell you all that in a comment or even single video
@@Codemycom sir just me in yes or no and if we can't do everything in kivy what we can do with tkinter please tell me how many about how many percent we can do with kivy
@@sanggang9288 as I said, I couldn't possibly answer that
Pls after learning all these, which companies can someone work with
Any companies looking for developers of this type.
Sir we can do game developement with kivy too sir will you teach us game developement with kivy too
can u tell me how to install kivymd on raspberry pi 4
Sorry, no clue
This simply adds more features to kivy but kivy can do most of those things at this point.
Sir can you make a video about kivymd file convert apk Android please sir
Someday
Thx
Welcome!
finally
:-p
How to export kivy to apk?
We'll probably look at that eventually.
Using buildozer
@@someone-od2qi but how?
I prefer the jackhammer
I will pay you to help me find kitchen sink folder that works. I’m serious, please help!
install the same version of kivy that I use and it's there.
Where's the Payment , haha
Walter White is that you?
Haha
Why am I getting this error when I run main.py ?
from libs.baseclass.dialog_change_theme import (
File "C:\kivymd\KivyMD\demos\kitchen_sink\libs\baseclass\dialog_change_theme.py", line 7, in
from kivymd.color_definitions import colors, palette
ModuleNotFoundError: No module named 'kivymd'
Sounds like you didn't install kivymd
@@Codemycom Sir I installed it, I followed every step! I even repeated the whole process from creating a virtual environment, the virtual environment is activated too as I can see (virt) at the end of each statement
@@Codemycom Sir on checking with pip freeze cmd I can see kivy md missing under KivyMD but I ran all the 3 cmds from GitHub as u did in this video. How to rectify it?
@@Codemycom Now after I ran "pip install kivymd==0.104.2" It seems to work fine but since u didn't use that in this tutorial will I have any future issues?
@@beast2808 Not sure...if it says it's not installed then it isn't. Try installing it again. Make sure the virtual env is turned on.
7:14 linux oh dir ::)
NandoLopes-
Hi
Hi