Python – How do I add a Python version to the Python launcher?

How do I add a Python version to the Python launcher?… here is a solution to the problem.

How do I add a Python version to the Python launcher?

On Windows, how do I add a Python version to the Python launcher? I installed python 3.7 next to 2.7. I have made sure that the PATH variable and registry key are correct. ONE THING I WOULD SAY IS THAT I DON’T SEE ANY OTHER PYTHON ENVIRONMENT VARIABLES (E.G. PYTHONPATH) ON MY MACHINE, OR ANY PY.ini FILE DESCRIPTION here .

If possible, I would expect the solution to work with python distributions such as Anaconda.

This is the same as py launcher does not find my Python 2.7 Same question, but none of the answers worked for me, so I’m sure I can ask it again.

Correlation:
How should I set the default Python version in Windows

Solution

I solved the problem by going to Control Panel -> Uninstaller, right-clicking on “Python 2.7.15”, clicking “Change”, and pressing “Repair”. Not sure why I didn’t try it first.

Related Problems and Solutions