Fix Python/Pip is Not Recognized as an Internal or External Command on Windows

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
it's really really frustrating when you try to  run python on Windows and the typical python   is not recognized message comes out but don't  worry this is really really simple to fix and   that's what I'm gonna show you in today's video  so if you're here you probably didn't tick the   checkbox that said add python to the Path  environment variable okay but don't worry   because we're gonna fix it real real quick okay  so basically when you try to run python like that   Windows tries to find the python executable inside  the fabio folder but it cannot find it and then it   looks for the python executable in all the folders  listed in the path environment variable okay   so what do we need to do to fix this problem? we  just need to add the path to the folder containing   the python executable to the path environment  variable okay so basically this is the folder   that contains the python.exe as you can see this  is the path this should be the same as yours   apart from the username of course so you need  to copy that as you can see if you cd into that   you then try to run python it works because now  you're inside this folder and then Windows looks   for the python executable in that folder and it  finds it okay but you want to find to be able to   to run python from wherever okay so to add  this path here to the environment variable,   to the path environment variable  you need to open the control panel   up here in the search control panel write  env, edit the system environment variables then you get this then down here environment  variables and here you've got the path okay   environment variable you can click edit you  can double click on it and you can edit the   text so this is the text but we don't want to  complicate things so just double click again   we click new we copy that and then we're  also going to copy this path, the scripts   because it contains the PIP executable which is  important as well so then let's go back here new   click on that okay okay okay you  can close this and just do that   do that then you need to reopen this  let's close that and reopen that   let's try if everything works python as you  can see finally I work all right and if you're   here you're definitely learning python so check  out the video on the screen to learn even more!
Info
Channel: Fabio Musanni - Programming Channel
Views: 11,888
Rating: undefined out of 5
Keywords: python, python3, python is not recognized, python is not recognized as an internal or external command, pip is not recognized as an internal or external command, pip is not recognized as an internal or external command windows 10, pip is not recognized, add pip to path windows 10, pip is not recognised as an internal or external command, python is not recognised as an internal or external command, add python to path windows 10
Id: Lg0FwxmjMaY
Channel Id: undefined
Length: 2min 53sec (173 seconds)
Published: Tue Aug 30 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.