-
-
Notifications
You must be signed in to change notification settings - Fork 34.1k
Open
Labels
OS-windowspendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedtopic-installationtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
Using py.exe on Windows, such as when directly executing a .py file, results in the free threaded version of Python being launched.
Even setting py.ini to launch the regular version does not fix this behavior. This results in a situation where a py file can not find modules installed by pip in the same terminal as they are run under different versions of Python.
In my case it always launches python3.14t.exe:
C:\Users\Admin>py --list
-V:3.14t Python 3.14 (64-bit, freethreaded)
-V:3.14 * Python 3.14 (64-bit)
-V:3.11 Python 3.11 (64-bit)
-V:3.9 Python 3.9 (64-bit)
C:\Users\Admin>py -3
Python 3.14.3 free-threading build (tags/v3.14.3:323c59a, Feb 3 2026, 16:00:26) [MSC v.1944 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
CPython versions tested on:
3.14
Operating systems tested on:
Windows
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
OS-windowspendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedtopic-installationtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error