[SOLVED] pip is not recognized as an internal or external command

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys welcome back to my channel in today's video I'm going to show you how you can solve error pip is not recognized as internal or external command operable program or a batch file so this error you get whenever you try to install some of the Python Library using pip command and because of some reason your pip does not work so in today's video I will show you how you can solve this error so first of all let me open my command prompt and let me show you that whether I am getting this error or not so just type CMD and open your command prompt and now here I will type a command pip or pip so I am pressing enter as soon as I'm pressing enter I am getting this error message that pip is not recognized as internal or external command so now let's see reason behind this so for that I'm going to open environmental variable so so in search you can simply type EnV and here you can see it's showing me edit the system environmental so just click on that and now here under Advanced tab click on this environmental variable and here we are having user variable as well as system variable so we will be using system variable and now here there is a variable known as path this variable is available in both user as well as system so now let me just select this path and click on edit button so if I click on edit button nowhere you can see there is a python path added over here python as well as python script path so that's the reason we are getting that error that it is not recognized so there are so many software which you use on command prompt if you get the error the particular command is not recognized this is a solution you have to set the path so now I'm just going to close this path I will be showing you how to set the path and which path is to be set so I have closed my environmental variable and now I will be opening my ideally so just type ideally and here just click on this open file location so as soon as you click on this you are going to get this option so it is showing me different shortcuts ideally and other shortcuts so I don't want this shortcut I want actual location so we'll be right clicking on this ideally and I will be selecting open file location so it will take me to its actual installation location so this python does not get installed into program files so this is the location of my python on my machine I have python 3.11 so this is the location so now I'm going to just copy this path and simply I'm going to paste this path copied path in my environmental variable so again I will open my environmental variable and here again I'm going to click on this environmental variable and now I will be selecting path under system variable and then click on this edit button and now what you have to do you have to click on this new button and the paste the copied path over here and click on ok now we have to add one more path that is the script python 311 you can see there is a script folder so this contains all the scripts so here you can see my pip is also there so I will be copying this path and again I will be creating a new variable inside path environmental variable and I will be pasting over there so let me go to environmental again I didn't close this because I wanted to add one more value in this path variable so let me select path again and click on this edit variable Okay now click on this new and now paste the copied path that is the script path and here now we have pasted both the path python 311 that is the location installation location and script now click on OK OK and one more time okay so now your path setting is done okay so now again I will be opening my command prompt and here I will show you my pip version which is installed so for that I will be typing pip and hyphen hyphen version so you can see it is showing me pi IP 22.3.1 so now it's not showing me error message that it's not recognized as internal or external command you can see I type pip command also rather than typing pip hyphen hyphen version so nowhere I am getting that error so your error is resolved I hope guys by following my video you are successfully able to Resort if yes then do hit on like button and if you have any kind of query you can put in comment box I will surely reply to your queries and guys if you are new to my Channel please subscribe to my channel and don't forget to press Bell icon to receive notifications from my channel thank you guys for watching my video till then I'll see you in my next video till that bye bye and take care
Info
Channel: CS CORNER Sunita Rai
Views: 52,385
Rating: undefined out of 5
Keywords: pip is not recognized as an internal or external command, pip error, pip is not recognized, python tutorial, python error, operable program or batch file, python programming, pip not recognized, pip is not recognized as internal or external command, python pip fix, problem pip, 'pip' is not recognized, pip' is not recognized, 'pip' is not recognized as an internal or external command, solve pip is not recognized error, pip is not recognized windows 10, how to fix pip error
Id: 2YJpgliyloM
Channel Id: undefined
Length: 5min 28sec (328 seconds)
Published: Tue Nov 29 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.