python3.11-venv is missing on 24.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python3.11 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When I installed `python3.11` package on Ubuntu 24.04 (I tried the official `ubuntu:24.04` Docker image for ease of reproducibility) and tried running `python3.11 -m venv /tmp/test`, I got the following error message:
```
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 install python3.11-venv
You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.
Failing command: /tmp/test/
```
This would be fine (and is expected on Debian-based systems) but I then tried running the `apt install python3.11-venv` command and have learned that there is no such package available in the 24.04 repositories:
```
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python3.11-venv is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python3.11-venv' has no installation candidate
```
Status changed to 'Confirmed' because the bug affects multiple users.