Python 3.12.1, Windows 11: shebang line #!/usr/bin/env python3 doesn't work any more
Thomas Passin
list1 at tompassin.net
Mon Jan 15 19:28:18 EST 2024
On 1/15/2024 7:24 PM, Thomas Passin wrote:
> On 1/15/2024 6:27 PM, Greg Ewing via Python-list wrote:
>> On 16/01/24 11:55 am, Mats Wichmann wrote:
>>> Windows natively has something called python.exe and python3.exe
>>> which is interfering here
>>
>> I'm wondering whether py.exe should be taught to recognise these stubs
>> and ignore them. This sounds like something that could trip a lot of
>> people up.
>
> There are registry entries that say where all the python.org install
> locations are. I suppose, but don't know, that py.exe checks them. The
> registry entries are
> in Computer\HKEY_CURRENT_USER\SOFTWARE\Python\PythonCore
For python.org installs that are installed for all users, the entries are in
Computer\HKEY_CURRENT_USER\SOFTWARE\Python\PythonCore
More information about the Python-list
mailing list