Python: Resolving the error : The term ‘pip’ is not recognized as the name of a cmdlet, function, script file, or operable program
Hi all,
Today in this article we are going to solve the most asked question ever : The term ‘pip’ is not recognized as the name of a cmdlet, function, script file, or operable program.
To know more about pip you can surely check this article- https://knowledge-junction.in/2021/07/25/most-popular-tool-for-installing-python-packages-pip/
Issue / Error
The term 'pip' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ python
+ ~~~
+ CategoryInfo : ObjectNotFound: (python:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
How to fix the issue / Error
If you want to fix the error follow these steps:
1) First we will search Environment Variables

2) Then it will open System Properties

3) After that we will click on environment variables…

4) After clicking one more dialogue box will open

5) Now we will click on path

6) After clicking on the path the dialogue box will open.

7) Now we have to add the path where our scripts is located. So to add the path we will click on new.

8) Here we can add the location

9) To add the location we will open our Python folder and copy the path of scripts

10) Now we will copy the path and paste it in the Edit Environment variables

11) After adding the path we will click on ok and the close all the dialogue boxes
Now we have finally solved the error. We will test in the terminal by typing pip

As we can see that the pip is working now we can use pip for installing packages
Thank you for reading this article 🙂
Have a nice day!!

You must be logged in to post a comment.