Package: pipx
Version: 0.12.3.1-2
Severity: important
Dear Maintainer,
My first time attempting to use pipx, on a fairly fresh system.
------------------------------
$ pipx install poetry
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.
apt-get install python3-venv
You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.
Failing command: ['/home/joel/.local/pipx/venvs/poetry/bin/python3', '-Im',
'ensurepip', '--upgrade', '--default-pip']
'/usr/bin/python3 -m venv /home/joel/.local/pipx/venvs/poetry' failed
---------------
Installing the `python3-venv` package fixes this problem. I propose this
package depend on `python3-venv`.
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (1000, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages pipx depends on:
ii python3 3.7.5-3
ii python3-distutils 3.8.2-2
ii python3-pkg-resources 44.0.0-1
pipx recommends no packages.
pipx suggests no packages.
-- no debconf information