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

Bug #1879188 reported by Robert Kulagowski on 2020-05-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python3.8 (Ubuntu)
Undecided
Unassigned

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
/usr/share/bash-completion/completions/pyvenv-3.8
$ locate pyvenv
/snap/core18/1705/usr/share/bash-completion/completions/pyvenv
/snap/core18/1705/usr/share/bash-completion/completions/pyvenv-3.4
/snap/core18/1705/usr/share/bash-completion/completions/pyvenv-3.5
/snap/core18/1754/usr/share/bash-completion/completions/pyvenv
/snap/core18/1754/usr/share/bash-completion/completions/pyvenv-3.4
/snap/core18/1754/usr/share/bash-completion/completions/pyvenv-3.5
/usr/bin/pyvenv
/usr/share/bash-completion/completions/pyvenv
/usr/share/bash-completion/completions/pyvenv-3.4
/usr/share/bash-completion/completions/pyvenv-3.5
/usr/share/bash-completion/completions/pyvenv-3.6
/usr/share/bash-completion/completions/pyvenv-3.7
/usr/share/bash-completion/completions/pyvenv-3.8
/usr/share/man/man1/pyvenv.1.gz

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

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

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.

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

Other bug subscribers