WEBVTT 1 00:00:04.740 --> 00:00:06.870 In this video we're going to go ahead 2 00:00:06.870 --> 00:00:09.540 and download and install Python for the 3 00:00:09.540 --> 00:00:11.730 Windows platform. Now if you're running a 4 00:00:11.730 --> 00:00:14.639 Mac or running a Linux computer, do refer 5 00:00:14.639 --> 00:00:16.020 to the separate videos in this section 6 00:00:16.020 --> 00:00:17.910 of the course and that's because the 7 00:00:17.910 --> 00:00:19.290 process of downloading and installing 8 00:00:19.290 --> 00:00:21.239 path are slightly different for those 9 00:00:21.239 --> 00:00:23.369 platforms, but if you run in Windows 10 00:00:23.369 --> 00:00:25.950 follow along in this video. So the first 11 00:00:25.950 --> 00:00:29.279 thing to do is go to python.org, 12 00:00:29.279 --> 00:00:31.890 and once you get there you can 13 00:00:31.890 --> 00:00:33.600 move your mouse down to downloads and 14 00:00:33.600 --> 00:00:35.040 you can see a little pop-up window came 15 00:00:35.040 --> 00:00:37.260 up and come over here and select what is 16 00:00:37.260 --> 00:00:39.000 the latest version and you can see 17 00:00:39.000 --> 00:00:40.739 currently it's showing Python to three 18 00:00:40.739 --> 00:00:42.870 point six point two, so I'm going to 19 00:00:42.870 --> 00:00:45.269 click that then I'm going to actually 20 00:00:45.269 --> 00:00:48.239 save this and while that's downloading, 21 00:00:48.239 --> 00:00:50.550 all that shouldn't take long, I just want 22 00:00:50.550 --> 00:00:52.710 to mention that you probably don't want 23 00:00:52.710 --> 00:00:54.030 or you certainly don't want to download 24 00:00:54.030 --> 00:00:56.609 Python 2. In this course we're going to 25 00:00:56.609 --> 00:00:59.339 be going through and using Python 3, 26 00:00:59.339 --> 00:01:00.719 but do keep in mind that we'll talk a 27 00:01:00.719 --> 00:01:02.399 little bit from time to time about the 28 00:01:02.399 --> 00:01:05.220 older version Python, but in general we 29 00:01:05.220 --> 00:01:06.780 definitely want you to download and use 30 00:01:06.780 --> 00:01:08.970 Python 3, because that's the majority of 31 00:01:08.970 --> 00:01:10.590 the courses and of course it's the most 32 00:01:10.590 --> 00:01:12.450 recent version. Alright so down on the 33 00:01:12.450 --> 00:01:13.649 bottom you can see that's now finished 34 00:01:13.649 --> 00:01:16.310 downloading, so I'm going to click on run, 35 00:01:16.310 --> 00:01:18.450 now you click this little option that will 36 00:01:18.450 --> 00:01:20.880 pop up, it gives you the directory where 37 00:01:20.880 --> 00:01:22.530 it's going to install the files, you can 38 00:01:22.530 --> 00:01:24.960 choose a custom installation, you don't 39 00:01:24.960 --> 00:01:26.430 really need to do that, anything you 40 00:01:26.430 --> 00:01:27.750 really need to do here is just click on 41 00:01:27.750 --> 00:01:29.490 this little checkbox, I mean it very 42 00:01:29.490 --> 00:01:31.259 important that you do that to add python 43 00:01:31.259 --> 00:01:34.469 3.6 to path, so that's been checked and 44 00:01:34.469 --> 00:01:35.490 they've come up here and click on 45 00:01:35.490 --> 00:01:37.439 install now, noting that it's actually 46 00:01:37.439 --> 00:01:40.079 installing it there in my local app data 47 00:01:40.079 --> 00:01:42.750 folder. So click on install now, 48 00:01:42.750 --> 00:01:44.100 you didn't see that most likely but there's 49 00:01:44.100 --> 00:01:45.479 a little pop-up that came up and said 50 00:01:45.479 --> 00:01:46.979 I had to click on yes to allow it to 51 00:01:46.979 --> 00:01:49.859 continue installing, so I clicked on that 52 00:01:49.859 --> 00:01:50.960 and it's now going through the process, 53 00:01:50.960 --> 00:01:53.789 it's a fairly fast process I won't take 54 00:01:53.789 --> 00:01:58.340 too long to finish. 55 00:01:58.340 --> 00:02:00.259 Alright, so at this point you can see 56 00:02:00.259 --> 00:02:02.359 that it's actually now finished and 57 00:02:02.359 --> 00:02:04.399 successfully installed and we just click 58 00:02:04.399 --> 00:02:06.049 on close, we can ignore this disabled 59 00:02:06.049 --> 00:02:07.729 path length limit, we don't need to worry 60 00:02:07.729 --> 00:02:10.160 about that, click on close and what we 61 00:02:10.160 --> 00:02:12.050 want to do now is just verify that 62 00:02:12.050 --> 00:02:14.090 Python has been correctly installed and 63 00:02:14.090 --> 00:02:16.310 that we can access it and one quick way 64 00:02:16.310 --> 00:02:18.080 to do that is to come over here and 65 00:02:18.080 --> 00:02:20.150 click on your Windows icon right-click 66 00:02:20.150 --> 00:02:22.640 it and select run, that should work on 67 00:02:22.640 --> 00:02:24.530 most versions of Windows but just make 68 00:02:24.530 --> 00:02:26.540 sure that you get this option to run and 69 00:02:26.540 --> 00:02:28.519 type in that little window a little 70 00:02:28.519 --> 00:02:31.220 while the order should say CMD which is 71 00:02:31.220 --> 00:02:33.489 an abbreviation for command press enter 72 00:02:33.489 --> 00:02:36.260 that opens up a command window and if we 73 00:02:36.260 --> 00:02:39.560 just type in Python now, python press 74 00:02:39.560 --> 00:02:41.840 enter you can see in my case it's came 75 00:02:41.840 --> 00:02:43.549 up and said python three point six point 76 00:02:43.549 --> 00:02:46.190 two. So that's a visual confirmation that 77 00:02:46.190 --> 00:02:47.920 python has been successfully installed. 78 00:02:47.920 --> 00:02:50.209 Now I'm going to exit out of this by 79 00:02:50.209 --> 00:02:52.160 typing exit then left to right 80 00:02:52.160 --> 00:02:54.680 parenthesis press enter and if you 81 00:02:54.680 --> 00:02:56.239 happen to type Python but you've got 82 00:02:56.239 --> 00:02:57.500 something like this and I'm just going 83 00:02:57.500 --> 00:03:00.560 to type it incorrect command, so if you 84 00:03:00.560 --> 00:03:02.150 type Python and you got python is not 85 00:03:02.150 --> 00:03:03.500 recognized as an internal or external 86 00:03:03.500 --> 00:03:06.829 command, two things probably you or one 87 00:03:06.829 --> 00:03:08.750 of two things may have occurred firstly 88 00:03:08.750 --> 00:03:10.069 you may not have click on that add to 89 00:03:10.069 --> 00:03:11.780 path, which was on that first checkbox 90 00:03:11.780 --> 00:03:14.239 that came up when were installing python 91 00:03:14.239 --> 00:03:16.760 and secondly, you may need to reboot your 92 00:03:16.760 --> 00:03:19.130 computer for the change to take effect. 93 00:03:19.130 --> 00:03:22.220 So first things first would be to reboot 94 00:03:22.220 --> 00:03:24.109 and see and go back into the command 95 00:03:24.109 --> 00:03:25.700 window and see whether that fixes the 96 00:03:25.700 --> 00:03:28.010 problem, if that doesn't fix it you might 97 00:03:28.010 --> 00:03:28.940 want to go through the process of 98 00:03:28.940 --> 00:03:30.889 uninstalling and reinstalling python and 99 00:03:30.889 --> 00:03:32.989 making sure that this time you click on 100 00:03:32.989 --> 00:03:34.700 that add to path checkbox to make sure 101 00:03:34.700 --> 00:03:36.260 that's ticked and you should find in 102 00:03:36.260 --> 00:03:38.150 most cases that will fix the problem, 103 00:03:38.150 --> 00:03:39.290 for once I'm going to type exit there to 104 00:03:39.290 --> 00:03:41.900 close down the command window at this 105 00:03:41.900 --> 00:03:42.829 point we're done. 106 00:03:42.829 --> 00:03:44.450 So we're done with the installation of 107 00:03:44.450 --> 00:03:48.340 Python and we can move on to the next video.