python 3.8 pyvenv "You must install..." loop

Bug #1879188 reported by Robert Kulagowski
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python3.8 (Ubuntu)

Bug Description

$ pyvenv

Command 'pyvenv' not found, but can be installed with:

sudo apt install python3-venv

$ sudo apt install python3-venv
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-venv is already the newest version (3.8.2-0ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ ls -l /usr/bin/pyv*
lrwxrwxrwx 1 root root 10 Mar 13 07:20 /usr/bin/pyvenv -> pyvenv-3.8

$ locate pyvenv-3.8
$ locate pyvenv

$ lsb_release -rd
Description: Ubuntu 20.04 LTS
Release: 20.04
$ apt-cache policy python3-venv
  Installed: 3.8.2-0ubuntu2
  Candidate: 3.8.2-0ubuntu2
  Version table:
 *** 3.8.2-0ubuntu2 500
        500 focal/universe amd64 Packages
        100 /var/lib/dpkg/status

Tags: focal
Revision history for this message
Thomas Hill (t-hill) wrote :

Was able to reproduce using the steps set out above.

Changed in python3.8 (Ubuntu):
status: New → Confirmed
tags: added: focal
Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

From what I can see the python3-venv package includes /usr/bin/pyvenv as a symlink point to /usr/bin/pyvenv-3.8, which should be supplied by the python3.8-venv package (a dependency of python3-venv), however this file isn't included in the package.

Revision history for this message
Manfred Hampl (m-hampl) wrote :

pyvenv has been deprecated in Python 3.6, see

I assume the best action to cope with this bug is dropping the packages python3-venv (from python3-defaults) and python<version>-venv from the python<version> source packages (e.g python3.11-venv from python3.11 in lunar). They are (almost) empty anyhow.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.