Cant Run Python thats installed on machine, various error messages

0
0

Hello everyone i originally had a problem with running basic script

print(“Hello World”)

Terminal would return “Can’t find Python.exe at PATH” or “error on line 162” and some others.

Error was in Environment Variables under Users variables for {User} > path C:\Users\{User}\AppData\Local\Programs\Python\Python313\

To confirm PATH is oke, you can run cmd “where python” and you should get response above

Solution is do delete any other you might have in given path, such as|
“C:\Users\{User}\AppData\Local\Microsoft\WindowsApps\python.exe”

as well as delete Python and when installing new Python check “Add Python to PATH”

Also don’t forget to restart PC

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.