python3 is not recognized as an internal or external command.operable program or batch file

i have python 3.8.6 installed in my Windows 7 x64 .Whenever i try to run python3 as a command.it gives me an message stating that python3 is not recognized as an internal or external command.operable program or batch file but when i run python as a command , it works absolutely fine. i tried adding my python folder in system variables>path but nothing changes

8

1 Answer

I found this.

There is no python3.exe file, that is why it fails. So, try run:

py

And "py" is just a launcher for python.exe. If you have more than one python versions installed on your machine (2.x, 3.x) you can specify what version of python to launch by:

py -2 or py -3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like