www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/02/10/18:36:08

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 61ANa7jH1951002
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 61ANa7jH1951002
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=KlGxAVwO
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DE3E44BA23FE
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1770766566;
bh=NuyfhwojEp7aC/o+VeZfTGCIE2kKWLv9t/KKgJ+S21g=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=KlGxAVwOQ85IX476qLuyB/ugWsVpoOrk00octgR0JTBO0ZtLXO9/fIVpCzlflBynX
yWPi4/cAzhxABLDAtFkd4h9J6QgzncuI+0eweyLRwKRa/OVYf7BjCn7i9KxbIoAbKD
Q/hYs7SyqCd9D3xb2W92wPbu4G0cu+y+RpakNN/g=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 846BB4BA2E14
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 846BB4BA2E14
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770766519; cv=none;
b=RlbsRFqVmw6XQquIwedlpE0QUVTe5sOc7IczyGDf2kmenV8qHdFig6CjnSBMxkEFt0cZPilyRF8L5eobNfv/g2bUzwt+mGNEVfkvIczZirH6CzXfuyEsj7084fmyuQ9ZIlawMxmaJhsCbgGnozC0YDF8ZL+nHMLZ3o/Csp6Lcuw=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1770766519; c=relaxed/simple;
bh=5pTIqjbunR7elu+HCQGdguHZV0VSJhl6/YyPFjLm5NE=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:From:To;
b=pnUDCw6qxBZ9+N7AWP8/iUUrtjdyeITlqaQ7d7Xid/TQmAT9Nykvkdia8LNpidnWWzNDoFBnigYh4rA61oQGcoqpqD/dxBbjwzrAOZ3f8lHQ/AYpq2PBXr8Bzm+hJdpouPgJ06g0nWVJbRwbo7u/g63uD6c2RMNZ508oodF8vg0=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 846BB4BA2E14
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1770766518; x=1771371318;
h=content-transfer-encoding:in-reply-to:references:to:from
:content-language:subject:user-agent:mime-version:date:message-id
:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=iRYc56jR+wMetQPV6hGD90FsZCUcR/taAqxzAaqf1xE=;
b=Otah2QaMFOH0O6+7XoLVknit5DE6Yi10Qcr8Z0VNTDYAKGSAW/FbKHxS4eJF9znKuy
DOi/FhAUJ4JbEYWWIGXyEXMfpFHmn8KD3mggWKQNo8ya25ly2C8pdct4mZlEUtkBA2o2
hFkBRQZuAUj+tcSPmz6DxHJzP3D2qD+vKhsMWnk/i8v5b3+7jUvHqpRv87b7JyjpZJpF
6CU4kXReo+Pz8EqId0DGzTJvKwL+eSFz562i4uOkScAqW5uL+Kl4nkDaLrW1lDzF+j1G
v165WaUm5N/wfs8fGiuiOXbxJqRUkGBDEYgmsZVys7XbYOaJ1PVbsXC6qhY+hhk8DTqv
r0cw==
X-Gm-Message-State: AOJu0YyNqoltVsbJBo2rsaB9fQmpKwTXA1vQv/PulUxQK1bnfqE+OU+D
yrbex8i4phdKTE0bMWFGelh4rdiZq8mLZZ0pgqGPoy/cY66+f6KPcoG0yZI7Wpb0
X-Gm-Gg: AZuq6aI5Y1g38TetJc1Ji+kh94GCzqRV148pZMLJT7JbUquSpsVj5B6+fFWoh0bzEMQ
tVvhlV2blaBzCmvk/9T4UqpONq/rvoNnq5i4TXocZa0hq4mD9WemhNQ7q7mbrtEqRuM8WPb7dyw
HTcttb6x4iD6jsuFKF1njyTPtHYMCTh1ELfd9C4ikjAkdtK1f6ooW/DUqK0Qvjg2E2wVkWn55iR
1qOMD72QUrvOBrVcaVwvfm79yv+wOWO4GpJqrnbARwTzsRvbCa5Iohso6/P0pDKOsSbr7K0htWD
wwpmpYs2yh0ZHx9JzyzzA6qYTeae2Ggp6CgFsM14q4yjNWJun4UdGYa/x0s/XKXrcrYsXPf6864
CE8pztcFNo2lJkhduc7rqloi8A/aoLs5kqaXy0HPdlxECrGKPKCANBJb9Cyp6PbNlik81Oa6O9x
Xq73jAOL1HyxPVPfw0x7biNPk3+jsGP0PAz/yVLEc4jk0XSBej/5hfXTw=
X-Received: by 2002:a05:600c:8b56:b0:477:6374:6347 with SMTP id
5b1f17b1804b1-483202311acmr201664465e9.22.1770766518277;
Tue, 10 Feb 2026 15:35:18 -0800 (PST)
Message-ID: <f4113932-350f-4b23-b5b2-82d88585f4b0@gmail.com>
Date: Wed, 11 Feb 2026 00:35:16 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: python3.12 ensurepip fails
To: cygwin AT cygwin DOT com
References: <2b02db72-d232-4d5f-97f5-c475618d29b9 AT seznam DOT cz>
<l4tahqbqpbu3niyhkdsrdbnk2aqetjxawopcvjgtt5xg6b235q AT 5vd2mjfujaoo>
<da770c39-8722-46c0-a653-f2539765ee43 AT gmail DOT com>
In-Reply-To: <da770c39-8722-46c0-a653-f2539765ee43@gmail.com>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 61ANa7jH1951002

On 10/02/2026 22:57, Marco Atzeri wrote:
> On 08/02/2026 18:08, news703538--- via Cygwin wrote:
>> Am 2026-02-07 18:44:36, schrieb Libor Ukropec via Cygwin:
>>> Hello,
>>>
>>> I've installed (and then reinstalled) Python312 (3.12.12-1), venv, pip,
>>> setuptools, wheel all for python312.
>>>
>>> Still when I execute `python3.12 -m ensurepip` I have this error:
>>>
>>> ```bash
>>> $ python3.12 -m ensurepip
>>> Traceback (most recent call last):
>>>    File "<frozen runpy>", line 198, in _run_module_as_main
> ...
>>> FileNotFoundError: [Errno 2] No such file or directory:
>>> '/usr/lib/python3.12/ensurepip/_bundled/pip-25.0.1-py3-none-any.whl'
> 
> python on Cygwin was always built without ensurepip
> so no surprise that is not working.
> 
> I don't know why this setting was used before I took over.
> I am checking now to build with ensurepip

not working.


>>
>> I had exactly the same problem here and gave up recently. Looking again
>> into this I found the missing file in package python312-virtualenv via
>> "cygcheck -p pip-25.0.1-py3-none-any.whl".
>>
>> After installing the package python312-virtualenv, the missing file is
>> not at the expected location.
>>
>> So with a new directory /usr/lib/python3.12/ensurepip/_bundled/ and a 
>> symbolic link
>> /usr/lib/python3.12/ensurepip/_bundled/pip-25.0.1-py3-none-any.whl - 
>> > /usr/lib/python3.12/site-packages/virtualenv/seed/wheels/embed/ 
>> pip-25.0.1-py3-none-any.whl
>> "python3.12 -m ensurepip" worked for me.
>>
> 
> thanks for the checking, I will look on it.

added same workaround on python{3.9,3.12}-virtualenv
so with it

$ python3.12 -m ensurepip
Looking in links: /tmp/tmp8zomc830
Requirement already satisfied: pip in /usr/lib/python3.12/site-packages 
(26.0.1)



-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019