Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"We learn from history that we learn nothing from history." -- George Bernard Shaw


devel / comp.lang.python / Re: Python 3.12.1, Windows 11: shebang line #!/usr/bin/env python3 doesn't work any more

SubjectAuthor
o Re: Python 3.12.1, Windows 11: shebang line #!/usr/bin/env python3 doesn't work Sibylle Koczian

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

<mailman.83.1705424892.15798.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24895&group=comp.lang.python#24895

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: nulla.ep...@web.de (Sibylle Koczian)
Newsgroups: comp.lang.python
Subject: Re: Python 3.12.1, Windows 11: shebang line #!/usr/bin/env python3
doesn't work any more
Date: Tue, 16 Jan 2024 18:00:33 +0100
Lines: 27
Message-ID: <mailman.83.1705424892.15798.python-list@python.org>
References: <8dcf3464-e32f-457b-8938-0ff013ed4262@web.de>
<4TCsVz4CzPznVGL@mail.python.org>
<f63eac91-be2b-4e13-823f-1b99a43b709d@web.de>
<b9235356-db47-49fd-b14f-8e9d9fa20149@wichmann.us>
<fa3a05b8-1aee-4574-8e27-080b84f91de4@tompassin.net>
<23c6ee06-5e7b-42b0-a1f4-d151f8a47a1c@wichmann.us>
<d59f5407-0bfd-497e-86ed-66f751a4295e@web.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de KStvAfNgVvCBmO0QUe0HXAYsz2YB9EWoLIJq5M3tH2zA==
Cancel-Lock: sha1:nSa79egJgGTCIE3wF5NPtLMWSJk= sha256:10ZxmREVj4VHME7BszdipJVegp6Mq9KlT3pOXDbRVfE=
Return-Path: <nulla.epistola@web.de>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.009
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'hopefully': 0.07;
'subject:Windows': 0.07; 'thing.': 0.07; '"python.exe"': 0.09;
'linux': 0.09; 'schrieb': 0.09; 'yes.': 0.09; 'subject:Python':
0.12; '"where': 0.16; 'from:addr:web.de': 0.16; 'mats': 0.16;
'message-id:@web.de': 0.16; 'right.': 0.16; 'subject:usr': 0.16;
'wichmann': 0.16; 'wrote:': 0.16; 'python': 0.16; 'pm,': 0.19;
'to:addr:python-list': 0.20; 'machine': 0.22; "i've": 0.22;
"what's": 0.22; 'install': 0.23; 'received:de': 0.23; 'anything':
0.25; "isn't": 0.27; 'else': 0.27; 'header:User-Agent:1': 0.30;
"doesn't": 0.32; 'question': 0.32; 'here,': 0.32; 'python-list':
0.32; 'unless': 0.32; 'but': 0.32; "i'll": 0.33; 'windows': 0.34;
'same': 0.34; "didn't": 0.34; 'header:In-Reply-To:1': 0.34;
'files': 0.36; 'using': 0.37; "it's": 0.37; 'received:192.168':
0.37; 'put': 0.38; 'use': 0.39; 'directed': 0.40; 'something':
0.40; 'search': 0.61; 'python.org': 0.62; 'box': 0.65; 'exactly':
0.68; 'received:194': 0.70; 'causing': 0.75; 'details.': 0.76;
'finds': 0.76; 'attribute': 0.84; 'subject: \n ': 0.84;
'subject:bin': 0.84; 'subject:more': 0.95
User-Agent: Mozilla Thunderbird
In-Reply-To: <23c6ee06-5e7b-42b0-a1f4-d151f8a47a1c@wichmann.us>
X-TOI-EXPURGATEID: 150726::1705424433-467FB979-B5D3716A/0/0 CLEAN NORMAL
X-TOI-MSGID: 4fa6c1cf-bb4f-4100-a3b7-5963f3eb5284
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <d59f5407-0bfd-497e-86ed-66f751a4295e@web.de>
X-Mailman-Original-References: <8dcf3464-e32f-457b-8938-0ff013ed4262@web.de>
<4TCsVz4CzPznVGL@mail.python.org>
<f63eac91-be2b-4e13-823f-1b99a43b709d@web.de>
<b9235356-db47-49fd-b14f-8e9d9fa20149@wichmann.us>
<fa3a05b8-1aee-4574-8e27-080b84f91de4@tompassin.net>
<23c6ee06-5e7b-42b0-a1f4-d151f8a47a1c@wichmann.us>
 by: Sibylle Koczian - Tue, 16 Jan 2024 17:00 UTC

Am 15.01.2024 um 23:55 schrieb Mats Wichmann via Python-list:
> On 1/15/24 12:01, Thomas Passin via Python-list wrote:
>> On 1/15/2024 1:26 PM, Mats Wichmann via Python-list wrote:
>> Python from the App Store is not the same as Python from python.org:
>
> yes. this question is about the python.org distribution. but, Windows
> natively has something called python.exe and python3.exe which is
> interfering here, IF the python.org install isn't directed to put itself
> into the path, AND if the "#!/usr/bin/env python3" form is used, causing
> a search in PATH, which is the setup Sibylle has described, unless I've
> misunderstood details.
>

No, you didn't misunderstand any detail. It's exactly right. My Windows
10 box doesn't find anything for "where python", "where python3", while
the new Windows 11 machine finds the Microsoft stub. "Irritating" is a
very friendly attribute for that thing. Why must it be called
"python.exe" and not something else like the installation files from
python.org?

I'll stop using "/env" - hopefully that won't create problems with the
scripts I use in the Linux VM. But in that case I'll know what's up.

Thank you very much!
Sibylle

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor