On 1/15/24 09:44, Sibylle Koczian via Python-list wrote:
In the Python documentation for versions 3.11 and 3.12 I found no
differences regarding py.exe and shebang lines.
Then I removed the "/env" from the shebang lines and could start the
scripts from the second computer. That certainly is a solution, but why???
Sibylle
also, it looks like you can disable the PATH-searching behavior of the
/usr/bin/env virtual path:
> The environment variable PYLAUNCHER_NO_SEARCH_PATH may be set (to any
value) to skip this search of PATH.
--
https://mail.python.org/mailman/listinfo/python-list