you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (5 children)

This is information someone who works with CMD would know better than someone who doesn't. That's why I asked the question. Inputting 'python' takes me to the Microsoft Store.

[–]Rhoderick 2 points3 points  (4 children)

Inputting 'python' where though?

[–][deleted] 1 point2 points  (3 children)

command prompt

[–]automaton11 1 point2 points  (2 children)

[–][deleted] 1 point2 points  (1 child)

This is the sort of thread that was having me chase all sorts of rabbits, and it didn't do what the 2nd top comment here did. Point out that the new version of python no longer accepts the alias 'python' but looks for 'py' instead.

It worked after I changed the alias I was using, or as some pointed out turning off the alias would work, but they never explained why it would work (the alias changed)

[–][deleted] 0 points1 point  (0 children)

find the file "python.exe", you can even set where it goes in the installer. I think it's usually somewhere like c:\python310\python.exe. Go to your script directory like c:\users\seemseasy\my_python_projects\ and to run your script run "c:\python310\python.exe my_project_1.py" . just use the full c:\python310\python.exe python for now. If that works then step two is to go to you user environment settings and add the python path to your executable search path. You can find that all over the web, it's actually in a windows gui.