Welcome to the testing world.
In this lecture, I'll show you how we can solve a problem in which we are installing a package at a
library.
But when we are going to use it on the jump, we are not able to locate it or we are not able to use
it.
I get a lot of questions from the student that they have installed liability, but when they try to
use on the Buy.com, they are not able to use it.
So now I'll show you how we can check it.
So first of all, we are installing any package or library using pipe.
OK.
Once you install now, go to the pager and I want to check all the library, which we have installed
reflected or not.
So I'll have to go to the file settings.
And here you will get Project Interpreter that comes under the project and the project name.
OK, when you go to the project interpreter, there is a current interpreter we just sent in my project.
So whatever the library you have installed, if it reflect over here means yes, whatever we have installed,
we can use it now.
But sometimes you will notice.
Let me show you some times you will notice you are getting this means you are not getting library,
which you have installed.
OK, if you are not getting that library which you have installed, how we can solve this problem?
OK, for solving this problem, I'll just go to this button.
ED, go ahead and go for existing enrollment here, either.
What all the python you have installed should be reflected here, but it's not reflecting.
OK?
Just click here and select your Python location.
And I'm taking example when you have only one installation of the Python.
So I'm in my case, Python is placed in my C drive and there we have Python.
Not easy.
So see Python three seven Python.
Easy looking, OK?
No, I'm saying don't use the current environment, which by default set on this project.
Use this new enrollment.
Click on OK.
Apply as you apply all the liability which we have installed on the Python and then movement should
be reflected here.
Because when we're installing any library troop, it is installing on the base and measurement of the
python, which is in my case, that is Python three seven C Python three seven by then.
So now you'll get all these library, which you have installed.
That is the first option.
We can solve this problem by this approach.
I'm just cancelling it.
I'll show you the second option and the options, which I'm showing.
It is not related to the Python programming.
Only if you're working with the Python only Python or if you are working with us leading with Python
a bit testing in Python or you are using the robot framework with Python.
So wherever you are using it, you can follow this approach.
No, I've shown you the first solution of it.
Now I'll show you the second solution.
Second solution is that check here in your project if you get this the EMV by default, that is your
current involvement.
I showed you here.
Let me show you.
And it was showing the current environment, and I'm just taking example.
It is showing this is my current environment.
If you check it, the but it shows my project.
But here we have the enrollment script Python.
So I would see that is my current involvement and first approach.
I assure you, you can change from here like you could add bit interpreter means present moment for
this project.
Second approach is that deep, this involvement just grows it here in a vision.
If you're getting this folder, go to the script for to copy it, but so just copy it.
Now go to the command prompt.
So I'll just open command prompt city and move to that location.
Now use PIP, Install and whatever that library you want to install.
So I'm just installing it.
So now you're installing this library for this project only.
So what was the project you are working on?
It will download and install the library for this project.
So this involvement we are setting for the project specific, if you want to use library and all that
and all the projects always go and select base interpreter, which I've shown you previously.
So now it will download and install the celebrity.
So it is collecting selenium.
Now downloading and storing it.
So here I am showing you two solutions by which we can solve this problem in which we haven't started,
I believe.
But in my project, I'm not able to use it.
That's all we have.
Thanks for watching this with you.