How to FIX Python was not found run without arguments to install from windows store (EASY)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
okay so I have this main dot Pi here that I'm going to run using python main.pi and as you can see I'm getting this error python was not found run without arguments to install for Microsoft store so how do you fix this error now this error occurs because python is not actually set in the environment variable path so but if I type python here as you can see python is installed so how you can fix this is uh go to your start and type python and open the file location as you can see here this is installed here or actually this is a shortcut so you can just go to open file location and as you can see here this is where python is installed right so first go to your figure out where your python is installed you can do it just like I did right now copy this path again hit start and type environment so as you can see you'll get this option edit environment variables click on this click on environment variables and in this path as you can see you there are two paths one is for user variables for Vishal or it's misspelled or another system variables that is available to all the users so uh you can add this to both the parts right there is path variable here there's another path variable here so let's add it to both and this one is applicable only for this user this is applicable for all the users right so I'll just click edit here and new and I'll give it this path and hit OK and let's select this and then click edit and then click new and then let's give this path hit OK again okay again and now let's go back to my Powershell and let's run python mail again okay so you might have to restart it I actually did not have to restart so I just had to close that terminal and open it again and now it's working so if your terminal is already open you can close it after you've applied and save the those path and run this again and it should work and it is working if you have any problems let me know in the comment section below
Info
Channel: The Code City
Views: 5,416
Rating: undefined out of 5
Keywords: python was not found, python was not, python was not found but can be installed from the microsoft store, install python, python command line, python add to path
Id: piF7pYVZ84M
Channel Id: undefined
Length: 2min 24sec (144 seconds)
Published: Wed May 24 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.