Kivy 2.0 Released! How To Install - Python Kivy GUI Tutorial #21

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
what's going on guys john elder here from cody.com and in this video we're going to look at and install kibby 2.0 all right guys like i said in this video we're going to look at and install ki 2.0 but before we get started if you like this video you want to see more like it be sure to smash the like button below subscribe to the channel give me a thumbs up for the youtube algorithm and check out codeme.com we have dozens of courses with hundreds of videos that teach you to code use coupon code youtube1 you get 30 off membership with all my courses videos and books for one time fee is just 49 which is insanely cheap all right it is friday morning here in vegas very excited about the weekend man it's been a long week i am ready for the weekend and in this video we are looking at kiwi 2.0 now this was released just a couple of days ago two days ago it looks like and this is very exciting so up until now we've been using kivy version 1.1.1 which had certain limitations as a lot of you know you couldn't use it unless you had python 3.7 or below which a lot of people don't have because right now python is on version 3.9 and it just wouldn't work with kivy and there are some other you know little issues as well but they finally come out with 2.0 and it looks great it works great works with uh we can see right here it works with python versions 3.6 to 3.9 they have dropped release for python 2.7 so if you're still using python 2.7 this won't work i have no earthly idea why you would be using python 2.7 but i think 27 comes with mac so if you're using it mac with the default python that's still 2.7 so you should have updated your python anyway but i know a lot of people just don't do that but anyway kibi 2.0 very very excited about this and the guys did a great job with this as far as i could tell so far so in this video we're going to install it really quickly and that's one of the nice things you can install this very quickly installing the old kivi was uh you know a little bit of a thing this is just easy it just works and it's fantastic like i said they did a great job with this so i am at github.com forward slash kibby forward slash kivi forward slash releases if you want to come here and read through this at all or you could go straight to the kivi website so if you go to the kibby website qivi.org and you click on install you can see the different installation options for all of the things i'm just on windows so we're in this video we're just going to do windows installation so we can come through here and we can just do it from here or you can click on here and follow the instructions here these instructions are a little more convoluted uh you know they want you to install a virtual environment and all that stuff we're going to do that but we don't need instructions for it i'm just going to walk you through it so i'm just going to go off of this so the great thing i'll just cut to the chase to install this thing all you have to do is pop this into your terminal and that's it and that's all there is to it it's fantastic i'm really happy about this if you can't tell i'm pretty excited so let's walk through this step by step because we don't want to just install this we want to set up a virtual environment as we always do you always want to install things like this in a virtual environment based on your project so per project every project you create you should create a virtual environment and you should install all these things into just that virtual environment why because if you have different projects they have different dependencies you know we might have done something with the old kivi and we need the old kivi in there so we would put the old kivy in that virtual environment obviously here we want to use the new ki so we're going to put the new kibby in our virtual environment but to do that you need a virtual environment so i've got the git bash terminal as always i just open it this is the default thing it's i'm in c users coded me codeme is the name of my computer it's my login username so whatever your logged in username is you'll see it right there so the first thing we want to do is create a directory to hold all of our kb stuff so i'm going to go mkdir and i want to put this in the c drive and i'm just going to call this kivy new right in past videos we've been doing kivy gui now we're going to be doing qivi new so now we need to move into that directory cd change directory so let's go c slash qv new and we can ls there's nothing at all in here and we're good to go so let's install now our virtual environment and to do this we type by we type python-m and we want to start a virtual environment v-e-n-v and i'm going to call this vert short for virtual right so i give this a second to spin up and i don't know if i mentioned or not i'm using python version 3.9 we can type python dash capital v to c yes in fact we're using python 3.9 like i said this requires python 3.6 to 3.9 i guess so says the documentation right here it's the first release hence currently supported python versions are 3.6 to 3.9 so if you're using something below 3.6 you're probably going to want to use the old version of kivy i have videos on that in this playlist the very first video i think we installed the old version of kiwi so you can check that out there should be a link in the comment section below to the playlist for this kb playlist so back over here we've installed our virtual environment now we need to turn it on let me just clear the screen and to do that we type in source and then vert and then scripts and then activate right and when we do we see now we've got this vert thing above our prompt that means the virtual environment has been turned on so okay let's pit freeze to see what's been installed in our virtual environment and we can see nothing has been installed which is what we would expect this is a brand new virtual environment there's nothing installed into it so now let's go ahead and install the new version of qivi so you have several options here you can install just the kibi base with the kivi examples you can install the kiwi base and the media dependencies and the examples or you can get everything and the examples we're just going to get everything now i don't need the examples so i probably won't install those but we just copy this line head over here right click and paste this guy in it's just pip install qb bracket full now like i said i don't need the example so i'm going to take those off those are optional you can install them or not install them i don't want to install them because i don't need to see the examples so let's just hit enter now i don't know if this is because this is brand new and lots of people are installing this or if this is just a function of the installation but it takes a while for this to install and it looks like nothing's happening you can see right here our cursor is just blinking and this has happened earlier when i installed it earlier same thing it could be my internet connection but i don't think so i think this is just i don't know maybe a lot of people are installing this because brand new just came out or whatever i don't know maybe it just takes a while but your cursor will sit and blink here for like a good minute or two as if nothing is happening so be patient it is working don't freak out don't hit enter a bunch of times or control c or control q to try and break out of here just let it blink let it do its thing and it should work so i'm gonna go ahead and pause the video and as soon as it starts moving again and we'll pick it back up okay so boom like 10 seconds later it started going and uh it's doing some stuff and uh it's looks very busy right and even when it starts to go like it just did it could still take a minute or two to finish installing so it should be fine don't freak out or anything just sort of uh be patient let it do its thing now even if it takes like 5 minutes or 10 minutes or 20 minutes which i guess it could be possible don't freak out just you know go drink some coffee or something come back in a few minutes and it should be done and boom it's done so now let's go ahead and clear the screen now let's hit freeze to see what we got here and we can see man a whole bunch of stuff was installed so i think it takes a while to start because the files are quite large i think it's a couple hundred megabytes for the full version at least so it's probably downloading stuff that's why it's blinking like that so based on your internet connection it could be fast or slow it just takes a while to download everything so we've got requests we've got some python stuff we've got kivy garden kivvy 2.0 all kinds of other cool things so very very cool and that's it done done so that's it all right this is fantastic and this has been sort of a sore spot for a lot of people with kivy is it's just tricky to install but the guys over there at qb.org did a fantastic job with this it just works so i'm going to pull up a quick let's see file explorer and you can see my c drive is getting very full so let's have it over to our kivy gui directory that we've been working on in these past videos and i'm just going to grab our calculator app that we've been working on calc.kb and calc.pi so i'm just going to copy this and let's just come over to our qivi new directory i'm just going to paste these in all right so just to see if this worked right so we can run this like always python calc dot pi and when we do boom boom does the things and it pops right up 8 times 9 equals 72.0 minus 3 right and it works so fantastic super excited about this i haven't really dug into all of the things to see you know there's some release notes with uh things that have changed there's a changelog and uh you know there's all kinds of stuff i really haven't spent a lot of time digging through all these things and playing with this i'm just happy to see it out and excited to tell you guys about it but very very cool so play around with this install the new version if you like if you got the old version you probably still want to update i don't know that you absolutely have to right away but you might as well right so go ahead and do that read through some of these release notes if you're interested if you are not on windows obviously you can come over here and you know if you want to install on mac you just click this read through here again it's saying to do a virtual environment and then it's the same thing python dash m or you can a lot of times leave that off and just go pip install kibi base or in our case we did ki full same command right and really that's all there is to it so super awesome super easy for linux we can come through here and let's see it looks like the same thing right so man they just did a fantastic job i keep saying this over and over but uh i'm excited about this it's friday too so hey you know it's a fun friday surprise for us i guess this came out two days ago but today we're looking at it so all right so that's all for this video if you like to be sure to smash the like button below subscribe to the channel give me a thumbs up for the youtube algorithm and check out codeme.com where you use coupon code youtube1 to get 30 memberships pages 49 to access all my courses over 47 courses hundreds of videos in the pds of all my best-selling coding books join over a hundred thousand students learning to code just like you my name is john alder from coding.com and i'll see you in the next video
Info
Channel: Codemy.com
Views: 13,433
Rating: undefined out of 5
Keywords: kivy 2.0.0, Kivy 2, Kivy 2.0, Kivy 2.0 Installation, Kivy 2.0.0 Installation, How to install Kivy, how to install kivy on windows 10, how to install kivy on windows 10 python 3.8, how to install kivy on windows python 3.8, how to install kivy on windows 8, How to Install Kivy on Python 3.9, Kivy Install Windows, Kivy Install Python 3.9, codemy kivy, john elder kivy, john elder, kivy john elder, kivycoder.com, codemy.com, kivy apps, kivy installation tutorial, Install Kivy
Id: _J8GD-rHbrA
Channel Id: undefined
Length: 10min 55sec (655 seconds)
Published: Fri Dec 11 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.