0

I was using python 3.10, but I had to reinstall 3.9 (using python.org installer) to use a package that is not yet 3.10 compatible.

The pylauncher documentation says that, without an explicit version, it runs the "latest version". I realise now how it is ambiguous: latest released or latest installed?

I wrongly was expecting the first. The following command result shows, with the star, that the default version is 3.9.

>> py -0
Installed Pythons found by py Launcher for Windows
 -3.9-64 *
 -3.10-64

I didn't find how to set the default to 3.10. Any clue?

Patrick Bourdon
  • 131
  • 1
  • 3
  • This is a duplicate question. See the docs discussion of defaults here https://docs.python.org/3/using/windows.html#python-launcher-for-windows, and the related question here https://stackoverflow.com/questions/5087831/how-should-i-set-default-python-version-in-windows. – Brian Bartoldson Feb 27 '22 at 05:25
  • Thank you. I now see that Python doc says it's the last installed version, which is counter intuitive. – Patrick Bourdon Feb 28 '22 at 12:59

0 Answers0