Windows Py launcher detecting a version that no longer exists

❯ py -0p
 -V:3.12 *        C:\Users\monarch\AppData\Local\Programs\Python\Python312\python.exe
 -V:3.11          C:\Users\monarch\scoop\apps\python311\3.11.7\python.exe

The 3.11 install doesn’t actually exist, because I already uninstalled it.

❯ py -3.11
Unable to create process using 'C:\Users\monarch\scoop\apps\python311\3.11.7\python.exe': The system cannot find the file specified.

How did you uninstall it?

The py launcher depends on values in the windows registry, see PEP 514. You probably need to manually delete them now.

That was it! The previous uninstall didn’t clean up all the registries properly. Thank you!