1
00:00:04,320 --> 00:00:06,840
If you're a Windows user, this lecture is for you.

2
00:00:07,230 --> 00:00:13,950
I'll explain you how to install Python on the Windows computer and how to install baby in the package

3
00:00:14,160 --> 00:00:18,060
that we will use in order to create Python virtual environments.

4
00:00:18,690 --> 00:00:22,710
Please navigate to Python dot org first and go to download section.

5
00:00:23,760 --> 00:00:31,020
Here, you'll find the download link to the latest version for Windows and the currently AC last version

6
00:00:31,020 --> 00:00:32,720
as 3.9 Dot two.

7
00:00:33,360 --> 00:00:36,990
But before installing go them, please go to the terminal.

8
00:00:37,290 --> 00:00:43,830
I recommend you to use PowerShell and verify whether you have a Python installed already or not.

9
00:00:44,310 --> 00:00:47,760
For that, please type Python does desperation command.

10
00:00:48,240 --> 00:00:53,190
If you don't see anything in this output, it means that Python is not installed on your computer.

11
00:00:53,790 --> 00:00:56,580
On this computer, I don't have Python installed.

12
00:00:56,850 --> 00:00:58,890
That's the way let's go ahead and install it.

13
00:00:59,190 --> 00:01:06,240
Let's go back to the web browser and download Python 3.0 9.2 installation package was downloaded.

14
00:01:06,240 --> 00:01:07,410
Let's execute it.

15
00:01:08,130 --> 00:01:09,510
Installer was opened.

16
00:01:09,960 --> 00:01:14,220
Please ensure here to check at Python 3.9 to path.

17
00:01:14,550 --> 00:01:22,140
With this checkbox checked, you will be able to launch Python directly from the command line and less

18
00:01:22,140 --> 00:01:23,610
Alysha install now.

19
00:01:25,670 --> 00:01:26,090
Yes.

20
00:01:27,990 --> 00:01:29,130
Installing by them.

21
00:01:30,440 --> 00:01:31,650
Setup was successful.

22
00:01:31,700 --> 00:01:37,370
Let's close this, install our window and let us know verify whales or python is available here in the

23
00:01:37,370 --> 00:01:38,150
terminal or not.

24
00:01:38,760 --> 00:01:40,700
Let's re-enter the same command python.

25
00:01:40,910 --> 00:01:41,540
That's version awesome.

26
00:01:42,110 --> 00:01:46,850
Again, I don't see anything I need probably to restart the PowerShell.

27
00:01:47,190 --> 00:01:47,810
Let's do that.

28
00:01:52,460 --> 00:01:53,720
Let's dive by them.

29
00:01:53,960 --> 00:01:56,060
There's this version once again.

30
00:01:56,270 --> 00:02:03,380
And now I see correct version that it was just installed by the 3.9 to do a lot of was spied on.

31
00:02:03,530 --> 00:02:10,400
You should have access to the PIB that stands for Python installer and with help of a B, you could

32
00:02:10,400 --> 00:02:12,830
install any of the Python packages.

33
00:02:13,280 --> 00:02:15,260
Let's check its version as well.

34
00:02:15,570 --> 00:02:17,270
VAP does this operation.

35
00:02:20,440 --> 00:02:23,110
And I see that baby is installed as well.

36
00:02:23,260 --> 00:02:25,570
And this version is twenty three.

37
00:02:26,110 --> 00:02:26,460
Great.

38
00:02:26,810 --> 00:02:30,430
No, let's go ahead and install baby in the package.

39
00:02:30,850 --> 00:02:35,320
Let's first go to the web browser and in the new tab here type vibe.

40
00:02:35,500 --> 00:02:36,790
Ian, you like that?

41
00:02:37,390 --> 00:02:39,100
And click on the first link.

42
00:02:39,700 --> 00:02:47,350
It will lead you to buy buy dot org website, where you could find information about all available Python

43
00:02:47,350 --> 00:02:47,980
packages.

44
00:02:48,220 --> 00:02:55,810
The App Envy is one of them, and with help of BJP envy, you could very easily automatically create

45
00:02:55,810 --> 00:02:59,410
and manage virtual environments for your projects.

46
00:03:00,560 --> 00:03:08,660
And BP in we will create such files as you file that is similar to Package Jason, the file in logs.

47
00:03:08,990 --> 00:03:12,250
And also it will create such file as AP file.

48
00:03:12,400 --> 00:03:19,340
But look, and this file is similar to package this logbook Jason file in North Jia's.

49
00:03:20,180 --> 00:03:20,650
All right.

50
00:03:21,020 --> 00:03:24,590
Let's go ahead and install VPN on windows.

51
00:03:24,950 --> 00:03:31,430
Let's go back to the terminal and you could do that by entering VIP install command.

52
00:03:31,730 --> 00:03:38,840
Next, let's add option user that will install and we only for particular user and here type name of

53
00:03:38,840 --> 00:03:41,830
the package you want to install baby in view.

54
00:03:42,300 --> 00:03:49,560
Notice that now we will install baby envy globally on the computer in our Python application.

55
00:03:49,580 --> 00:03:55,880
We will install all dependencies inside of that environment, and we will talk about that a bit later,

56
00:03:55,880 --> 00:03:56,360
of course.

57
00:03:56,780 --> 00:03:58,700
So let's install baby in view.

58
00:03:59,020 --> 00:03:59,710
Press our.

59
00:04:01,740 --> 00:04:02,400
Installing.

60
00:04:04,090 --> 00:04:09,100
Installation was successfully completed, but unfortunately, I see several warnings.

61
00:04:09,730 --> 00:04:13,060
It's pretty normal, you should see those warnings as well.

62
00:04:13,480 --> 00:04:16,390
Let's have a look, for example, this particular one.

63
00:04:16,990 --> 00:04:26,320
It tells us that Scripps BJP in we resolve our exit and we don't accept are installed in this particular

64
00:04:26,320 --> 00:04:26,870
folder.

65
00:04:26,950 --> 00:04:28,360
Here is complete path through it.

66
00:04:28,900 --> 00:04:35,230
But this folder is not in path, but is global environment variable.

67
00:04:35,950 --> 00:04:43,570
And if you want to access specific script that is located inside of this folder, you need to add this

68
00:04:43,570 --> 00:04:44,620
folder to path.

69
00:04:45,530 --> 00:04:52,940
What does it mean if I tried to enter baby envy right now, for example, and add the option, there's

70
00:04:52,940 --> 00:04:55,490
desperation i lcl.

71
00:04:55,760 --> 00:05:02,060
The term envy is not recognized as a name of Juan ActionScript file or Sampson Girls.

72
00:05:03,830 --> 00:05:12,230
And this because now this folder is not in path, and Windows does not look in this folder to search

73
00:05:12,470 --> 00:05:15,500
some scripts that have named baby in view.

74
00:05:16,340 --> 00:05:18,950
And first, what we need to do in order to fix that.

75
00:05:18,950 --> 00:05:21,800
If we want to run baby in, we like this.

76
00:05:22,250 --> 00:05:25,700
We need to modify path environment variable on windows.

77
00:05:26,360 --> 00:05:34,780
You could very easily do that by going here and type path in the search field, and you'll find here

78
00:05:34,780 --> 00:05:39,170
are such options as added the system and environment variables in control panel.

79
00:05:39,560 --> 00:05:40,370
Let's click on it.

80
00:05:41,500 --> 00:05:49,090
Hero, please go to environment variables hero, please find variables related to your particular user.

81
00:05:49,240 --> 00:05:51,040
In my case, user name is bogden.

82
00:05:51,490 --> 00:05:55,840
And please find your variable at Gold Path, please selected.

83
00:05:55,990 --> 00:05:59,230
And Gleek added, and no hero.

84
00:05:59,410 --> 00:06:07,060
We need to add new path to a particular folder that holds scripts, including API in this script.

85
00:06:07,600 --> 00:06:09,910
And here was this path in my case.

86
00:06:10,090 --> 00:06:10,960
In your case.

87
00:06:10,960 --> 00:06:12,970
This path, of course, will be different.

88
00:06:13,510 --> 00:06:21,040
Please copy at this path from your warning you saw here during installation and here click New Button

89
00:06:21,280 --> 00:06:23,370
and paste it here like Deb.

90
00:06:24,700 --> 00:06:27,910
No, please click OK and OK once more.

91
00:06:28,780 --> 00:06:34,570
No path should be adjusted and we should have no access to the pipe in the script.

92
00:06:35,080 --> 00:06:41,140
If you tried to execute a command once again, you'll see same error again.

93
00:06:41,560 --> 00:06:44,350
In order to see changes, we need to restart terminal.

94
00:06:44,680 --> 00:06:48,940
Let's close terminal application and open it up back again.

95
00:06:50,330 --> 00:06:51,440
Open PowerShell.

96
00:06:53,050 --> 00:06:56,860
And here again, type vibe envy, there's desperation.

97
00:06:58,980 --> 00:07:05,550
And now I correctly see output version of the EPA, in my case, is here, and it means that the now

98
00:07:06,120 --> 00:07:13,410
energy is available for you directly in the command line and with help of BP and we we will create by

99
00:07:13,710 --> 00:07:17,190
the environment for our API application.

100
00:07:17,850 --> 00:07:19,530
Python is also available.

101
00:07:19,950 --> 00:07:26,790
And it means that we are good to go and we are able to proceed and start our Python API application.

102
00:07:27,630 --> 00:07:33,450
Also notice that the ISO and also Wernick related to a bit obsolete version of the app.

103
00:07:33,600 --> 00:07:40,260
And you could very easily upgrade to version of the app package installer itself by entering command

104
00:07:40,260 --> 00:07:44,100
by it on this am PIB install.

105
00:07:44,400 --> 00:07:45,660
There's this upgrade.

106
00:07:46,440 --> 00:07:47,970
The app lets do that.

107
00:07:49,800 --> 00:07:54,050
Found existing installation with version twenty three.

108
00:07:54,360 --> 00:08:02,610
And finally, it successfully installed Baby 21. 0.1 and I could verify version of the baby by entering

109
00:08:02,620 --> 00:08:03,190
baby.

110
00:08:03,210 --> 00:08:04,260
There's desperation.

111
00:08:05,310 --> 00:08:07,440
And I see no volition to anyone.

112
00:08:07,720 --> 00:08:09,270
0.1 wait.

113
00:08:09,630 --> 00:08:14,880
No, all is said by it on the baby and baby Ian, be installed.

114
00:08:15,210 --> 00:08:19,980
And we are able to start our API obligation with help of Python.

