Packages needed to create a virtual environment in Python 3.9
Daniel Abrahamsson
daniel.abrahamsson@prover.com
Wed Mar 5 10:28:40 GMT 2025
Hi,
I have installed the following Python packages:
* python39
* python39-devel
* python39-pip
Then I've run `python3.9 -m venv venv`, which results in:
> Error: Command
'['/home/daab/build-essentials/venv/bin/python3.9.exe', '-Im',
'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
Installing the package "python-pip-wheel" solves the error. I am
wondering if the "venv" module ought to work out of the box, or if
manually adding this additional package is what you are supposed to do?
It was not very obvious to me, and I have failed to find any
documentation on it. Is it just poor search skills on my side? Should
perhaps python-pip-wheel be a dependency of python39-pip?
Regards,
Daniel
More information about the Cygwin
mailing list