Am 2026-02-11 00:35:16, schrieb Marco Atzeri via Cygwin:
> 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)
>
Hello,
I can confirm your changes are working here:
$ python3.9 -m ensurepip
Looking in links: /tmp/tmp27uix56t
Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages
(80.9.0)
Requirement already satisfied: pip in /usr/lib/python3.9/site-packages
(26.0.1)
$ python3.9 -m venv venv3.9
$ ls ~/venv3.9/bin/
activate activate.csh activate.fish Activate.ps1 easy_install
easy_install-3.9 pip pip3 pip3.9 python python3 python3.9.exe
$ python3.12 -m ensurepip
Looking in links: /tmp/tmpxzfy0fpp
Requirement already satisfied: pip in /usr/lib/python3.12/site-packages
(26.0.1)
$ python3.12 -m venv venv3.12
$ ls ~/venv3.12/bin/
activate activate.csh activate.fish Activate.ps1 pip pip3 pip3.12
python python3 python3.12
Many thanks and regards
Harald
--
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