Public bug reported: on my bionic system with apt configured to to no installation of recommends:
$ apt-get install -y python3-venv python3-pip Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: python-pip-whl python3-distutils python3-lib2to3 python3.6-venv Recommended packages: build-essential python3-dev python3-setuptools python3-wheel The following NEW packages will be installed: python-pip-whl python3-distutils python3-lib2to3 python3-pip python3-venv python3.6-venv 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 1718 kB of archives. After this operation, 4388 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python-pip-whl all 9.0.1-2 [1379 kB] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-lib2to3 all 3.6.5-3 [76.6 kB] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-distutils all 3.6.5-3 [141 kB] Get:4 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-pip all 9.0.1-2 [114 kB] Get:5 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3.6-venv amd64 3.6.5-3 [6036 B] Get:6 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-venv amd64 3.6.5-3 [1204 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 1718 kB in 0s (9531 kB/s) Selecting previously unselected package python-pip-whl. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 5389 files and directories currently installed.) Preparing to unpack .../0-python-pip-whl_9.0.1-2_all.deb ... Unpacking python-pip-whl (9.0.1-2) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../1-python3-lib2to3_3.6.5-3_all.deb ... Unpacking python3-lib2to3 (3.6.5-3) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../2-python3-distutils_3.6.5-3_all.deb ... Unpacking python3-distutils (3.6.5-3) ... Selecting previously unselected package python3-pip. Preparing to unpack .../3-python3-pip_9.0.1-2_all.deb ... Unpacking python3-pip (9.0.1-2) ... Selecting previously unselected package python3.6-venv. Preparing to unpack .../4-python3.6-venv_3.6.5-3_amd64.deb ... Unpacking python3.6-venv (3.6.5-3) ... Selecting previously unselected package python3-venv. Preparing to unpack .../5-python3-venv_3.6.5-3_amd64.deb ... Unpacking python3-venv (3.6.5-3) ... Setting up python-pip-whl (9.0.1-2) ... Setting up python3.6-venv (3.6.5-3) ... Setting up python3-pip (9.0.1-2) ... Setting up python3-lib2to3 (3.6.5-3) ... Setting up python3-distutils (3.6.5-3) ... Setting up python3-venv (3.6.5-3) ... $ python3 -m venv $CACHE_VENV_DIR 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. I have just installed that package. ** Affects: python (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/1767551 Title: python3-venv To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python/+bug/1767551/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs