DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 61ALvZ8h1911549 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 61ALvZ8h1911549 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=UCMXtl8A X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB2264BA23C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1770760654; bh=DgZEmYUhuuoHQlI3ROQHEQo0iutSLjIwcfQMlVk3xF8=; 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=UCMXtl8AnZwioTYNI1OatycmGkr6NrtzE6VXV7X/vDFys+E8+5uzX/bBA+keFGRXs 4KWEMaRd+h3GyDXUiqg8wBIEE0sPEN9TJf1d8dweJddLk9+f/eS1YqimzAE9xMYp50 cg31Pv61pZdH78r9hC1x49kHF9C+J93laHvWZdXY= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7A6A84BA2E12 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7A6A84BA2E12 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770760635; cv=none; b=byjhnMIsFFS+2FcUAqoEsCaODO7STczkTdw34t2BzSpYWytt0q/jPzU7DRKcEQ0jQeCvlfYBDez6wrrhbnJYq/DWoA+Gzd72BcNk27drDp8z3LAl8Oma7WUez8sm3jw7s5dVVSfpcYvtbxm3Wg05FaJHv9GxaKvne1Oq0ucX6DA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770760635; c=relaxed/simple; bh=R7HFz+4o+2pLrKcgBPXKYRC/64YB1TTBIHzJ1XUTPLA=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=BjqoVzYt/xNnP5Z4+B0Mm2UQezUErLMXLuUtQlZrUZIyJ0Ohx4hrALQIatPQPGFQGyddzzgT3G0IIHTbawc/mn4xsthK5ZEcL5J9pLPgy34KrbfiutZoMurZJBkftTppid91Xw4FnnIa7L1l1eBvc9GCU/qVKU2svmBuXtsmVs4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7A6A84BA2E12 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770760634; x=1771365434; h=content-transfer-encoding:in-reply-to:from:references:to :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=4hhoC5/BbTwTr8xhEIixuWIOshNXkBhl/O/KzGbuTYU=; b=V+GuBisiBwyJqG4+Zn92H+E2DBaFRR7Yy9RK0M/5roLQIvKi1Qn9UAxZRtvgazAaCK w3cpUCAuVyKDWK7TxaCgs2WY3NpMgug77cWPH8Uz2gjThpQTs+WAk4s9EBFWFirIJEzv qYQKUi83jg0wOevlDP1oiQlG8PRIyx5P3QWNpIig/iCJcJWw2c8sb1DDbnmWjxAHQQ8T MGehQcL+U9DwiHS+c5YwjlPFvLAv4eTm2QJ/MsOvIIQ//HZjAyKWUyLh712OrcdFNG27 NK5rebeMFlMnU0ERbdxNNi3EJYBOldCuMx6oT8Fqv7VZnhsFwSknXu8AvPpJUQX4LjIx SLJQ== X-Gm-Message-State: AOJu0YyQ7LA6uq8DYsqnEXWqpM8V8O/qiSkZGFF0j5B0xIZw8ExeUAYs tcXmfsat63vJyo3FcCEzyszzwsjb7Cs6wVhOpfOVZDJlK0Xj+fai5nR/Uf47Hh1l X-Gm-Gg: AZuq6aIauBxzE1NYmQtUoxuFnFGIIDmDriiGZFOAPbXTxPS6hbm9RhgyUYbgLShX8zm OZcQgxFlivDt9VztEcSJyfVP94q1rImbmKsk2PsoOGxcpPPr4WxO6KOO627C0HhoM854KzuCzx4 88lXeaZY6QoDSXm9vf93W+pG6PW+yyfL6WtTa/3QPPUd0eLF8mjwB2hVKocTtqo3VkWMCxvAa+X 2pFmA90HV3SMH7XJa6OLSyxz3TDQTHmu3iz5JBPtrRQPpdAg7mH3J2LXdbOCJYnOJbhFNV3Egct vCxPZOIYB9GmCbi05kolFBKSHnWxqrE5fcVLejDmRp7+ysqLV1EOVP6kiQZxID3MZ+0f24/4xAS NsEVCLgdGTXLc7pho8Dky3yxBOWA+iYW7ufOVEc8Lc3u87PsgmlvPoVm1Oxn/0RX2dObYqWKVEn ldseavkucPTaCIHSHIXhVzHY6WJjRUo2lbZND+9ptpEdWFakhPwiOtDl0= X-Received: by 2002:a05:6000:2dc6:b0:436:42fb:1537 with SMTP id ffacd0b85a97d-43782b1b70amr649528f8f.8.1770760634245; Tue, 10 Feb 2026 13:57:14 -0800 (PST) Message-ID: Date: Tue, 10 Feb 2026 22:57:12 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: python3.12 ensurepip fails Content-Language: en-GB To: cygwin AT cygwin DOT com References: <2b02db72-d232-4d5f-97f5-c475618d29b9 AT seznam DOT cz> In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "Cygwin" 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 "", 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 >> ``` > ... >> I'm not asking for workaround(s), I'm asking if it is an error in cygwin or >> my setup. I hit this error during troubleshooting other error. >> >> Regards, >> Libor > > Hello, > > 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. > I'm aware you are not asking for a workaround, so concerning your question I > guess this is a glitch in a cygwin package or maybe upstream. > > Finally I am considering my cygwin transition from python3.9 to python3.12 > because "python3.12 -m venv venv" also succeeds now. > > Regards, > Harald > Regards Marco -- 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