On Sun, Jun 28, 2026 at 11:51 AM Andrey Repin via Cygwin <[email protected]> wrote:
> Greetings, Soren! > > > Hello Cygwinstas, > > > As in the Subject: I have two systems with Windows 11 and with Cygwin > > installed. I am attempting to reproduce the execution of a series of > steps > > leading to meson being installed on the second computer, so I can do some > > code building. I've tried it multiple times and keep getting this failure > > message: > > > $ type -p python3 && python3 --version > > /usr/bin/python3 > > Python 3.12.12 > > $ python3 -m venv ~/Devel/python.venv/beleriand > > Error: Command > > '['/cygdrive/c/Users/soren/Devel/python.venv/beleriand/bin/python', '-m', > > 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit > status 1. > > Most commonly, this means something wrong in the base system behavior. > Check the `mount` output, try `rebase-trigger full` and make sure no Cygwin > processes are running when you run setup.exe afterward. > > > On the first system, where the virtual env works fine, I see this: > > > $ type -p python3 && python3 --version > > /usr/bin/python3 > > Python 3.12.12 > > > It's the same version of python, yep. What could be wrong? TIA. Two things come to mind. * Check that your alternates configurations are identical on both systems. * check that you are not attempting (directly or indirectly) to use pip to upgrade a package which is provide by a python package installed using the Cygwin setup.exe app. If pip is not installed, you will need to use the Cygwin setup installer for pip. Try using "python -m venv --without-pip VENV" BTW: It is not clear what the current directory is when you run the error command. Was that the complete error message? Was there not also a traceback, possibly with messages before the traceback? HTH Doug -- Doug Henderson, Calgary, Alberta, Canada - from gmail.com -- 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

