pip: The term 'pip' is not recognized as the name of a cmdlet, function, script file or operable...

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so I'm on my Windows computer and I have my terminal oh but now when I try to use pip for any reason to install a python package or even just to check the tip version it fails I cannot do it so if I try for example to run pip dash dash version and this command needs to return the PIP version I have installed I get this the term pip is not recognized as the name of a CMT LED function script file blah blah luckily it's really easy to fix so let's do it now first we have to make sure that we have python installed on our machine you cannot use beep if you don't have python installed so the easiest way to check if you have python installed is try to run python to do that I click on the Windows start menu and look for python so in my case I do have python installed here it is and I can even open it and run it and we got another terminal with python open inside it now if you didn't find python it may mean that you don't have python installed so if that's the case for you open the web browser and go to python.org and from here you will see downloads and you will be able to download and install python but as we just saw I do have python installed so I'm not going to install python again in my case what I need to do is to update my best so let's do it first let's close this terminal window which is running Python and now I look for python again in the Windows start menu but this time instead of just running python I'm going to right click on the python option and then open file location and this way we got to put a shortcut to python but we don't want the shortcut we want the folder where python itself is installed so once again I right click on the shortcut and again open file location and now we got the actual installation folder for python all that's left is adding this folder to our path to do that let's click on the Windows start menu once again and look for environment and this is the option we want edit the system environment variables and here we want environment variables and then a specific variable that we want to edit is the path so it shows it from the list and then I click on edit this is the list of folders we currently have in our path and here we need to add the python installation folder so let's get back to the python installation folder and to remind you that's the folder we just found using its shortcut so this is the folder and I'm going to choose the path and copy it then I'll get back to the path environment variable and here I'll click on new and now we can paste the path I just copied and hit enter but this is not the only folder we want we want another folder so let's get back once again to the python installation folder and inside this folder we're going to have a script folder so let's open this folder and as you can see this is the folder that contains pip so this folder has to be in the path as well so once again I'm going to copy the path to this folder and once again I'll get back to the path editor and again let's click on new and let's paste the beep folder and let's press on enter and that's basically it we now have the folder that contains Python and the folder that contains peep in our path and everything should work so let's click on OK and OK again and once more and now we're going to have to close all of the open Terminal windows and if we reopen the terminal and run peep dash dash version once again we can see that now Windows finds Peep and we can use it
Info
Channel: Another barefoot eel
Views: 533
Rating: undefined out of 5
Keywords:
Id: vkqjuM51XrI
Channel Id: undefined
Length: 4min 9sec (249 seconds)
Published: Wed Aug 16 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.