00:00Hi everyone and welcome back to Victor Explains.
00:13In today's video, I'll show you how to fix the error that says, Python was not found, run without arguments to install from the Microsoft Store, or disable this shortcut from settings and manage app execution aliases.
00:26First, you'll need to locate where Python is actually installed on your system.
00:31Just go to your search bar and type Python. Right-click on it, and choose Open File Location.
00:37Now, you'll see a shortcut for Python. Right-click that again, and once more select Open File Location.
00:44This time, you'll be taken directly to the real Python installation folder.
00:49At the top of the window, click the address bar and copy that full path.
00:54Press the Windows key plus R key, type systemdm.cpl, and click OK.
01:04When the System Properties window opens, go to the Advanced tab, then select Environment Variables.
01:11Now, double-click on Path, then click New, paste the path you just copied, and click OK to save it.
01:23Go back to your Python installation folder, you'll see a folder named Scripts.
01:27Double-click to open it, then copy that path too.
01:34Return to the Environment Variables window, double-click on Path again.
01:39Then click New, and paste this Scripts path as well.
01:43Once done, click OK on every window to apply the changes.
01:50Now let's verify everything is working.
01:53Close your command prompt if it's open, and then reopen it, this refreshes your system paths.
01:58Type Python the version and hit Enter.
02:01You should now see your Python version appear without any errors.
02:04You can also try running pip to make sure the Package Manager is working properly.
02:09If both commands run without errors, congratulations, Python is now properly configured on your system.
02:15And that's it!
Comments