Set Default Version

Windows Solution

Locate the Python Launcher folder

Usually at:

C:\Users\[USERNAME]\AppData\Local\Programs\Python\Launcher
ℹ️
[USERNAME] is your username folder in Windows.

Inside the Launcher folder you should see a structure similare to this:

    • py.exe
    • pyw.exe
  • Create two additional files

    Create two additional files named py.ini and pyw.ini, so that in that folder you should have at least those files:

    • py.exe
    • py.ini
    • pyw.exe
    • pyw.ini
  • Now inside both py.ini and pyw.ini paste the following lines:

    [defaults]
    python=3.12
    ℹ️
    The value (this case 3.12) is the preferred python version you’d like to use

    source

    Have a question or feedback?

    Found an issue I haven't covered?
    Need clarification on steps?
    Want to share your experience?

    Please leave a comment below!