Am 2026-07-02 21:02:24, schrieb Soren via Cygwin: > Greetings and thanks Harald. My replication of your steps resulted in a > traceback. > On Wed, Jul 1, 2026 at 10:53 AM Harald Köhler via Cygwin <[email protected]> > wrote: > > > > > the error message seems similar to thread "python3.12 ensurepip fails" > > from 2026-02-07 and later. The fix was a workaround in > > python{3.9,3.12}-virtualenv. > > > > You may check if python312-virtualenv-20.36.1-1 is installed. Then > > something like (from my machine): > > > > $ python3.12 -m ensurepip > > Looking in links: /tmp/tmprfwr8cps > > Requirement already satisfied: pip in > > /usr/lib/python3.12/site-packages (26.0.1) > > > > My result: > $ python3.12 -m ensurepip > Traceback (most recent call last): > File "<frozen runpy>", line 198, in _run_module_as_main > File "<frozen runpy>", line 88, in _run_code > File "/usr/lib/python3.12/ensurepip/__main__.py", line 5, in <module> > sys.exit(ensurepip._main()) > ^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.12/ensurepip/__init__.py", line 284, in _main > return _bootstrap( > ^^^^^^^^^^^ > File "/usr/lib/python3.12/ensurepip/__init__.py", line 176, in _bootstrap > whl = wheel_path.read_bytes() > ^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.12/pathlib.py", line 1019, in read_bytes > with self.open(mode='rb') as f: > ^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.12/pathlib.py", line 1013, in open > return io.open(self, mode, buffering, encoding, errors, newline) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > FileNotFoundError: [Errno 2] No such file or directory: > '/usr/lib/python3.12/ensurepip/_bundled/pip-25.0.1-py3-none-any.whl' > > Danke, Harald. If you have any further ideas to share with me, please do so. > > Sincerely, > Soren
Hi Soren, you're welcome :-) Install or reinstall the current cygwin python312-virtualenv (20.36.1-1). You will get the previously missing symbolic link /usr/lib/python3.12/ensurepip/_bundled/pip-25.0.1-py3-none-any.whl pointing to /usr/lib/python3.12/site-packages/virtualenv/seed/wheels/embed/pip-25.0.1-py3-none-any.whl Try it again as described previously. HTH 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

