How does the Windows Python Launcher (py.exe) find the python executable(s)?

Viewed 755

I'm trying to use the Windows Python Launcher (py.exe) for the first time. I run python in a command shell but the launcher, running in the same shell, can't find any version of python.exe to run:

where python                                          
C:\Python38\python.exe                                  
py --list                                             
Installed Pythons found by py Launcher for Windows      
No Installed Pythons Found!  

                       

Obviously there is something missing in my configuration but I'm at a loss as to what. I've been digging into the registery and have located keys in:

HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/Python/PyLauncher   
HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/Python/PythonCore

but there isn't anything that references any executables.

Any help appreciated!

0 Answers
Related