Public bug reported: 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/bin/python3.11 ``` 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 ``` ** Affects: python3.11 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2058821 Title: python3.11-venv is missing on 24.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python3.11/+bug/2058821/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs