How to fix Python 'Command Not Found' Error on Windows: A Step-by-Step Guide

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] Hello friends in our last video we learned how to install python in Windows and we also verified that python was successfully installed in case during the verification step if you have encountered the command not found error you need to add python path in your windows environment variables you can skip this video if your python is working fine so let's start to fix this go to Windows taskbar in the search box type environment variables here you will see several options you need to click on edit the system environment variables you'll see one dialogue box here you can see environment variables button you can click on that here you will see two sections one is for user variables and one is for system variables so if you are administrator on this computer you can edit the system variables otherwise you need to go with the user variables so I'm the admin of this computer so I'll go with the system variables edit I will find a variable name path I will double click on it and I'll try to find if python path is already in this list if it is not there I need to create new python variables I can click on new and type my python installation directory in my case my installation directory is this C colon program files python 312 / scripts one more I will add without script so these two python paths I need to list in my environment variables now once it is done I'll click on okay if you have already opened a command prompt before you need to close it open a fresh command prompt or terminal and type python version perfect if you have found this video useful and it resolved your problem please like it and subscribe to my channel for more videos like this thank [Music] you
Info
Channel: Smiansh
Views: 646
Rating: undefined out of 5
Keywords:
Id: sFbZkvx2g_w
Channel Id: undefined
Length: 2min 48sec (168 seconds)
Published: Sat Mar 16 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.