1
00:00:04,580 --> 00:00:09,950
Britain is required in order to run eBay a service obligation without Dwarka.

2
00:00:10,430 --> 00:00:16,490
And then this last, or I'll demonstrate you how to verify installation of the python on Marcos computer

3
00:00:16,610 --> 00:00:19,850
and if needed, update it and in the next Loescher.

4
00:00:19,850 --> 00:00:22,040
I'll explain you how to do that on windows.

5
00:00:22,790 --> 00:00:30,170
Also, we will need to install PIB envy that will help us to manage Python virtual environments.

6
00:00:30,650 --> 00:00:36,200
Let's get started with the verification of the installation of the python on my ankles, and I'll also

7
00:00:36,200 --> 00:00:38,540
demonstrate you how to update it if needed.

8
00:00:39,230 --> 00:00:45,290
Let's go to the terminal and here in the terminal, please write Python three.

9
00:00:45,410 --> 00:00:46,550
There's this version.

10
00:00:47,390 --> 00:00:50,090
And I see version three, seven, three.

11
00:00:50,570 --> 00:00:57,590
And actually, every Mac also comes with installation of the Python out of the box, but I see that

12
00:00:57,890 --> 00:01:05,269
I have not the latest version and latest version I could verify here at the Python dot org website by

13
00:01:05,269 --> 00:01:06,860
going to download section.

14
00:01:07,310 --> 00:01:09,860
And here I'll see the latest version.

15
00:01:10,100 --> 00:01:16,520
At the moment of the recording of this video is 3.9 or two, and I have one of the previous versions

16
00:01:16,700 --> 00:01:17,150
this way.

17
00:01:17,180 --> 00:01:20,240
Let me update current version to the latest one.

18
00:01:20,690 --> 00:01:23,290
Let me click on download Python 3.9.

19
00:01:23,300 --> 00:01:26,510
The two big file will be downloaded.

20
00:01:26,690 --> 00:01:28,280
Let me open it up.

21
00:01:29,860 --> 00:01:30,580
Continue.

22
00:01:32,060 --> 00:01:34,370
Continue to agree.

23
00:01:36,050 --> 00:01:37,880
Cadena install.

24
00:01:39,480 --> 00:01:42,740
Enter my password and install software.

25
00:01:44,060 --> 00:01:49,610
Python was installed, and it has opened the folder with Python 3.9 automatically.

26
00:01:49,820 --> 00:01:52,520
Let me close it and let me close installer.

27
00:01:53,180 --> 00:01:53,870
Let's move it to.

28
00:01:54,770 --> 00:01:55,580
All right, let me know.

29
00:01:55,580 --> 00:02:02,780
Verify whether a Python 3.9 is available here in the terminal and I still see previous version.

30
00:02:02,990 --> 00:02:07,010
I need to reopen time in order to see a new version.

31
00:02:07,280 --> 00:02:10,740
Let me actually try to open a new tab like that press.

32
00:02:10,759 --> 00:02:15,960
No, I don't want to update on my cell and your type Python three.

33
00:02:15,980 --> 00:02:17,750
Does this version once again?

34
00:02:18,020 --> 00:02:19,100
And now I see it.

35
00:02:19,110 --> 00:02:28,340
Latest version three 9.2 Also, along with Spiderman three, I should see the IP three that is actually

36
00:02:28,340 --> 00:02:30,590
package manager for Python.

37
00:02:30,920 --> 00:02:34,160
And if I type Vibe three, I'll see a bunch of options.

38
00:02:34,370 --> 00:02:41,100
And if I add here does this awesome IOC version of the Play three and it has twenty to 2.3.

39
00:02:41,690 --> 00:02:47,210
It means that I am good to go now and I'm able to use latest version of the Python on this computer

40
00:02:47,510 --> 00:02:49,520
and also accept the Python.

41
00:02:49,730 --> 00:02:58,100
And I need the additional package installed to scold baby envy, and I could verify whether it didn't

42
00:02:58,100 --> 00:03:00,420
start honored by typing vibe.

43
00:03:01,190 --> 00:03:05,000
There's desperation and I see that the command is not found.

44
00:03:05,480 --> 00:03:11,870
No, let's install this additional package globally on this computer, and with this package, baby

45
00:03:11,870 --> 00:03:18,320
in we, we will be able to create Python virtual environments after installation in one of the next

46
00:03:18,320 --> 00:03:18,830
lectures.

47
00:03:19,010 --> 00:03:25,700
I'll explain you why I recommend you to use baby envy for managing Python beautiful moments.

48
00:03:25,700 --> 00:03:30,770
And also, I'll explain what is Python virtual environment for now?

49
00:03:30,770 --> 00:03:33,980
Let's just install this baby in the package.

50
00:03:34,310 --> 00:03:41,060
For that, let's go to Google Chrome Feuilles and here it is in your tab lets type the IBM Ian VM.

51
00:03:42,170 --> 00:03:50,990
And let's click on the link that leads us to buy buy dot org website that the least all available Python

52
00:03:50,990 --> 00:03:51,710
packages.

53
00:03:52,220 --> 00:03:59,480
And here you'll find the sweeps of the Envy package, and you might tweet here that this package automatically

54
00:03:59,480 --> 00:04:04,040
creates and manages virtual environments for your Python projects.

55
00:04:04,580 --> 00:04:12,410
It released all packages in the AP file and also it will generate a B file log file.

56
00:04:13,010 --> 00:04:13,420
All right.

57
00:04:13,620 --> 00:04:17,029
Let's go ahead and install the HP Envy for Mac.

58
00:04:17,510 --> 00:04:24,440
And as any Python package, we could install it with help of pipe that is Python package manager.

59
00:04:24,650 --> 00:04:31,880
If you scroll down to the documentation link here and click on it, you will find actually instructions

60
00:04:32,030 --> 00:04:39,020
how to install the app envy and you'll find three options here with help of you.

61
00:04:39,410 --> 00:04:45,170
Actually, you should use Baby three, the this package installer for the third version of the Python,

62
00:04:45,770 --> 00:04:50,810
and also there was alternative commands to install a PTEN VM.

63
00:04:51,170 --> 00:04:56,810
But as you might read here, this option is now discouraged and you should not use it.

64
00:04:57,080 --> 00:04:59,510
So please use this command instead.

65
00:05:00,110 --> 00:05:08,450
Let's go ahead and using Tap Package Manager, install and weep for a particular user in its home directory.

66
00:05:09,020 --> 00:05:17,570
Let's go to the terminal and here again, instead of B.A.P, please type tap three, then install Yeoville

67
00:05:17,780 --> 00:05:22,880
option does this user and next will be the name of the package baby NBA.

68
00:05:23,420 --> 00:05:24,950
Let's go ahead and install it.

69
00:05:27,980 --> 00:05:35,440
Installation was completed, but I see few warnings, and the first one is here aren't the scripts ABC,

70
00:05:35,540 --> 00:05:40,880
NBC and ABC envy this resolver are installed in this folder.

71
00:05:41,060 --> 00:05:44,990
Here it is, but this folder is not in power.

72
00:05:45,950 --> 00:05:50,840
You might see also all the warnings related to all those sweeps that were just installed.

73
00:05:51,840 --> 00:05:58,500
We'll dispel wealth is an environment variable, and it is a global environment variable Olmec, and

74
00:05:58,500 --> 00:06:04,500
you could read any variable on Mac by entering the comment Echo Dot or sign variable.

75
00:06:05,100 --> 00:06:11,940
And if you type this comment, you'll see current value of this environment variable path.

76
00:06:12,930 --> 00:06:17,760
And you might notice that this folder not in this path.

77
00:06:18,390 --> 00:06:27,030
That's why I will be able to access any script located in this folder globally inside of the command

78
00:06:27,030 --> 00:06:31,320
line by simply entering, for example, envy.

79
00:06:31,980 --> 00:06:40,590
If I enter such command, I'll see error from the Z Shell Shell command not found by any of you.

80
00:06:41,130 --> 00:06:44,010
And this what this warning is all about.

81
00:06:44,670 --> 00:06:53,430
We need to modify path and add this folder to it, and we could do that either temporarily by using

82
00:06:53,460 --> 00:06:57,570
export command here or directly in the terminal or permanently.

83
00:06:57,990 --> 00:07:03,120
If you want to go to the permanently, you need to modify this shell configuration profile.

84
00:07:03,870 --> 00:07:10,740
Please notice that Z Shell is default shell in Catalina and older versions of the macOS.

85
00:07:11,710 --> 00:07:17,830
In previous versions, if you're using older versions, you need to modify best profile instead of Z

86
00:07:17,850 --> 00:07:18,730
cell profile.

87
00:07:19,450 --> 00:07:24,760
Now let me show you how to modify his usual profile on this computer in order to do that.

88
00:07:24,790 --> 00:07:27,750
Please go to a home directory of your user.

89
00:07:28,450 --> 00:07:31,900
I am actually already in the home directory of this user.

90
00:07:32,140 --> 00:07:37,560
This deal, the sign tells me that, but if you are not in the home directory, you could send it to

91
00:07:37,600 --> 00:07:40,360
it by entering Sydney and do the sign like that.

92
00:07:40,870 --> 00:07:44,200
And here a police type alerts this L.A. command.

93
00:07:44,740 --> 00:07:49,780
This command will lease the old files and folders in the home directory of the user.

94
00:07:49,870 --> 00:07:58,390
In my case, this Bogdan user and you should find your hidden file gold dot z cell rc and we need to

95
00:07:58,390 --> 00:08:05,920
modify exactly this file in order to be able to access executable files inside of this folder.

96
00:08:06,140 --> 00:08:09,310
Looking at scroll a bit up inside of this folder.

97
00:08:09,970 --> 00:08:12,700
Let me copy this folder name like that.

98
00:08:13,000 --> 00:08:15,190
Please do so as well on your computer.

99
00:08:15,460 --> 00:08:20,320
You, of course, see another path because your user will be different from mine.

100
00:08:20,470 --> 00:08:21,730
Please copy your path.

101
00:08:22,570 --> 00:08:30,310
Next, let's edit DOT is you sell RC file, and you can do that very easily using content editor that

102
00:08:30,310 --> 00:08:31,600
is built in on Mac.

103
00:08:31,930 --> 00:08:34,490
Simply type now and name of the file.

104
00:08:34,510 --> 00:08:36,220
Dot Z Cell RC.

105
00:08:36,250 --> 00:08:42,880
Like that and you'll find existing configuration file for Z Cell on the second line.

106
00:08:42,909 --> 00:08:45,790
You should see such as export path.

107
00:08:46,390 --> 00:08:53,890
In my case, it is comment that out here, I see this pound sign if in your case, it is not coming

108
00:08:54,100 --> 00:08:54,490
out.

109
00:08:54,700 --> 00:09:02,800
You should modify your export path command and add to it folder that you just copied from the warning.

110
00:09:09,890 --> 00:09:12,830
I will throw uncomment this line like that.

111
00:09:13,550 --> 00:09:16,240
And afterwards, bliss, modify it like that.

112
00:09:16,910 --> 00:09:23,390
Remove this section from hero worship only door sign, pile and paste here.

113
00:09:23,660 --> 00:09:27,830
Go a bit path to the folder that we just copied from as a warning.

114
00:09:28,310 --> 00:09:31,970
And next, please ED column before the assigned path.

115
00:09:32,660 --> 00:09:39,410
This will mean that this command will actually modify existing agbele of the path environment variable

116
00:09:39,800 --> 00:09:42,860
and and to eat this string.

117
00:09:43,890 --> 00:09:51,690
If in your case, in that Z Cell C configuration file, you already see uncommon that export path line.

118
00:09:52,380 --> 00:09:58,050
Please don't delete anything in it and just add prefix to it like this.

119
00:09:59,590 --> 00:10:05,440
No, let's say who changes in this configuration file for that police rescue combination of control.

120
00:10:06,310 --> 00:10:09,040
Then press yes and press enter.

121
00:10:09,940 --> 00:10:16,750
Now you could verify whether changes were applied or not by entering court Dot Z Cell are C command

122
00:10:17,440 --> 00:10:20,500
and scroll up to the very beginning of this file.

123
00:10:20,980 --> 00:10:25,930
And here you should find command export path that looks like this.

124
00:10:26,500 --> 00:10:26,890
All right.

125
00:10:27,250 --> 00:10:32,500
Now all is said and we could try to a law terminal in order to verify wells.

126
00:10:32,650 --> 00:10:36,760
Now we will access EMV executable file.

127
00:10:37,090 --> 00:10:40,510
But before doing that, let me quickly deal a wheels.

128
00:10:40,600 --> 00:10:44,920
One more warning I saw here during installation of the interview.

129
00:10:45,250 --> 00:10:46,690
And here was this warning.

130
00:10:47,110 --> 00:10:54,360
I was told that the paper version is older than last version, and I could very easily update version

131
00:10:54,370 --> 00:10:57,400
of the baby by entering such comment.

132
00:10:57,880 --> 00:11:02,440
I could copy it from a show like that and paste it here and execute.

133
00:11:03,970 --> 00:11:06,070
Babies should be updated right now.

134
00:11:06,880 --> 00:11:12,730
And now the AP abortion 21 does 0.1, in my case was successfully installed.

135
00:11:13,330 --> 00:11:15,880
No, let's go ahead and reload terminal.

136
00:11:16,000 --> 00:11:18,370
In my case, I'm using Item two.

137
00:11:18,580 --> 00:11:25,480
You could probably use terminal application that is built in terminal on calls, but before load of

138
00:11:25,480 --> 00:11:31,660
the terminal, let me go to this four step where I'm still running front and application and terminate

139
00:11:31,660 --> 00:11:33,550
this process by pressing control.

140
00:11:33,580 --> 00:11:34,870
C key combination.

141
00:11:35,290 --> 00:11:39,670
And no lets exit from Item two with terminal.

142
00:11:39,970 --> 00:11:42,400
And now let's open it back again.

143
00:11:44,360 --> 00:11:52,340
And here, let's verify current value of the path variable like that, and I'll see that it was correctly

144
00:11:52,340 --> 00:12:01,340
adjusted as was instructed in the Dot Z cell are a C configuration file and this folder is here in the

145
00:12:01,340 --> 00:12:01,640
path.

146
00:12:02,330 --> 00:12:02,720
Go ahead.

147
00:12:03,110 --> 00:12:10,940
It means that the now I could try to access B.A.P Envy executable file and view and type, for example,

148
00:12:10,940 --> 00:12:12,350
option does this bottom.

149
00:12:13,310 --> 00:12:21,440
And now I see resolved version of the PPE and we installed on this computer is here and now I have access

150
00:12:21,440 --> 00:12:23,870
to the IPAB and executable file.

151
00:12:24,650 --> 00:12:31,480
This concludes installation of all Python tools necessary for development of API service and then the

152
00:12:31,480 --> 00:12:32,210
next lecture.

153
00:12:32,210 --> 00:12:34,580
I'll explain you how to do the same on windows.

154
00:12:34,700 --> 00:12:37,120
How to install Python and API envy.

155
00:12:37,130 --> 00:12:39,860
There are if you are a macOS user, of course.

156
00:12:39,860 --> 00:12:41,930
Feel free to skip next show.

157
00:12:42,140 --> 00:12:43,010
I'll see you soon.

