If you're a Windows user, this lecture is for you.
I'll explain you how to install Python on the Windows computer and how to install baby in the package
that we will use in order to create Python virtual environments.
Please navigate to Python dot org first and go to download section.
Here, you'll find the download link to the latest version for Windows and the currently AC last version
as 3.9 Dot two.
But before installing go them, please go to the terminal.
I recommend you to use PowerShell and verify whether you have a Python installed already or not.
For that, please type Python does desperation command.
If you don't see anything in this output, it means that Python is not installed on your computer.
On this computer, I don't have Python installed.
That's the way let's go ahead and install it.
Let's go back to the web browser and download Python 3.0 9.2 installation package was downloaded.
Let's execute it.
Installer was opened.
Please ensure here to check at Python 3.9 to path.
With this checkbox checked, you will be able to launch Python directly from the command line and less
Alysha install now.
Yes.
Installing by them.
Setup was successful.
Let's close this, install our window and let us know verify whales or python is available here in the
terminal or not.
Let's re-enter the same command python.
That's version awesome.
Again, I don't see anything I need probably to restart the PowerShell.
Let's do that.
Let's dive by them.
There's this version once again.
And now I see correct version that it was just installed by the 3.9 to do a lot of was spied on.
You should have access to the PIB that stands for Python installer and with help of a B, you could
install any of the Python packages.
Let's check its version as well.
VAP does this operation.
And I see that baby is installed as well.
And this version is twenty three.
Great.
No, let's go ahead and install baby in the package.
Let's first go to the web browser and in the new tab here type vibe.
Ian, you like that?
And click on the first link.
It will lead you to buy buy dot org website, where you could find information about all available Python
packages.
The App Envy is one of them, and with help of BJP envy, you could very easily automatically create
and manage virtual environments for your projects.
And BP in we will create such files as you file that is similar to Package Jason, the file in logs.
And also it will create such file as AP file.
But look, and this file is similar to package this logbook Jason file in North Jia's.
All right.
Let's go ahead and install VPN on windows.
Let's go back to the terminal and you could do that by entering VIP install command.
Next, let's add option user that will install and we only for particular user and here type name of
the package you want to install baby in view.
Notice that now we will install baby envy globally on the computer in our Python application.
We will install all dependencies inside of that environment, and we will talk about that a bit later,
of course.
So let's install baby in view.
Press our.
Installing.
Installation was successfully completed, but unfortunately, I see several warnings.
It's pretty normal, you should see those warnings as well.
Let's have a look, for example, this particular one.
It tells us that Scripps BJP in we resolve our exit and we don't accept are installed in this particular
folder.
Here is complete path through it.
But this folder is not in path, but is global environment variable.
And if you want to access specific script that is located inside of this folder, you need to add this
folder to path.
What does it mean if I tried to enter baby envy right now, for example, and add the option, there's
desperation i lcl.
The term envy is not recognized as a name of Juan ActionScript file or Sampson Girls.
And this because now this folder is not in path, and Windows does not look in this folder to search
some scripts that have named baby in view.
And first, what we need to do in order to fix that.
If we want to run baby in, we like this.
We need to modify path environment variable on windows.
You could very easily do that by going here and type path in the search field, and you'll find here
are such options as added the system and environment variables in control panel.
Let's click on it.
Hero, please go to environment variables hero, please find variables related to your particular user.
In my case, user name is bogden.
And please find your variable at Gold Path, please selected.
And Gleek added, and no hero.
We need to add new path to a particular folder that holds scripts, including API in this script.
And here was this path in my case.
In your case.
This path, of course, will be different.
Please copy at this path from your warning you saw here during installation and here click New Button
and paste it here like Deb.
No, please click OK and OK once more.
No path should be adjusted and we should have no access to the pipe in the script.
If you tried to execute a command once again, you'll see same error again.
In order to see changes, we need to restart terminal.
Let's close terminal application and open it up back again.
Open PowerShell.
And here again, type vibe envy, there's desperation.
And now I correctly see output version of the EPA, in my case, is here, and it means that the now
energy is available for you directly in the command line and with help of BP and we we will create by
the environment for our API application.
Python is also available.
And it means that we are good to go and we are able to proceed and start our Python API application.
Also notice that the ISO and also Wernick related to a bit obsolete version of the app.
And you could very easily upgrade to version of the app package installer itself by entering command
by it on this am PIB install.
There's this upgrade.
The app lets do that.
Found existing installation with version twenty three.
And finally, it successfully installed Baby 21. 0.1 and I could verify version of the baby by entering
baby.
There's desperation.
And I see no volition to anyone.
0.1 wait.
No, all is said by it on the baby and baby Ian, be installed.
And we are able to start our API obligation with help of Python.