Python 3.12.1, Windows 11: shebang line #!/usr/bin/env python3 doesn't work any more

Barry barry at barrys-emacs.org
Mon Jan 1 06:50:25 EST 2024



> On 1 Jan 2024, at 11:14, Sibylle Koczian via Python-list <python-list at python.org> wrote:
> 
> But in all this thread I didn't see a single explanation for my current situation: one and the same shebang line works on Windows 10 / Python 3.11 and doesn't work on Windows 11 / Python 3.12. I suspect Windows, because a change in the way Python 3.12 uses shebang lines should be visible in the documentation.

See my earlier reply with info on ftype etc output.
What do you see on your windows 10 vs windows 11?

Barry




More information about the Python-list mailing list