'py' is not recognized as an internal or external command, operable program or batch file


does this mean it worked

1 Like

You should be able to uninstall from the “add and remove programs” in the :gear: settings app.

Yes! You fixed it. :tada:

1 Like

Thank you so much for you’re help

This problem occurs because Windows doesn’t normally add the launcher path of the python 3.13 to the PATH variables. To solve this issue, make sure that you are running the installer on admin and add options about “adding py launcher” and “add to PATH”.

If that doesn’t work, open cmd.exe and hit where python
that will display out the location of the python.exe. Navigate to the .exe’s parent folder and locate a folder called “launcher”. Inside that folder is py.exe which is what you are looking for.

Chances are that the launcher folder will exist there if you are installing from the main website. Not another source like Microsoft store.

Add the PATH of py.exe to the PATH variables.

I am having the same issue on my windows 11. I have uninstalled and reinstalled python multiple times. I am running as admin and “adding py launcher” and “add to PATH”. I still do not have a “launcher” folder.

I am installing the latest version from the python website, not from Microsoft.

Then you should be able to start py.exe in a cmd.exe console.

well, here is the complete guide :joy: