Python was not showing any output in command line when entering the command

T

t3chwizard

As the title indicates, I was having an issue where whenever I tried to run a python script (with python or python3) the command prompt/powershell would just seem to ignore my input and show the next line in the terminal/console. I did find an old thread about same issue here, but it was locked and I could not reply to it.


I stumbled upon the solution when I saw that just typing simply "python" in the prompt opened the microsoft store application.

As found on this superuser post the solution was this:


"Fixed it by removing it ... on the settings page. Under Apps and Features, there are ... application execution aliases.

[You need to disable python.exe and python3.exe here to fix this]"



Hope this helps people that may be experiencing the same or similar issues as myself and GertJanOurensma (from the old locked thread)

Continue reading...
 
Back
Top Bottom