[Bug 1963832] [NEW] virtual environment doesn't contain pip

Dr. Jens Harbott 1963832 at bugs.launchpad.net
Sun Mar 6 18:20:47 UTC 2022


*** This bug is a duplicate of bug 1962791 ***
    https://bugs.launchpad.net/bugs/1962791

Public bug reported:

Steps to reproduce:

ubuntu at vm1:~$ sudo apt install python3-venv
ubuntu at vm1:~$ python3 -m venv vv

Actual result:

ubuntu at vm1:~$ ls vv/bin
Activate.ps1  activate  activate.csh  activate.fish  python  python3  python3.10

Expected result:

There is a pip command installed inside the virtual environment.

Weird side note:
When doing the same with python3.9, both pip3.9 and pip3.10 get installed:

ubuntu at vm1:~$ python3.9 -m venv v9
ubuntu at vm1:~$ ls v9/bin
Activate.ps1  activate  activate.csh  activate.fish  pip  pip3  pip3.10  pip3.9  python  python3  python3.9

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: python3.10-venv 3.10.2-5
ProcVersionSignature: User Name 5.15.0-18.18-generic 5.15.12
Uname: Linux 5.15.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu78
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Sun Mar  6 18:15:38 2022
Ec2AMI: ami-000003fa
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: south-2
Ec2InstanceType: 2C-4GB-40GB
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
SourcePackage: python3.10
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: python3.10 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug ec2-images jammy

** This bug has been marked a duplicate of bug 1962791
   python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3.10 in Ubuntu.
https://bugs.launchpad.net/bugs/1963832

Title:
  virtual environment doesn't contain pip

Status in python3.10 package in Ubuntu:
  New

Bug description:
  Steps to reproduce:

  ubuntu at vm1:~$ sudo apt install python3-venv
  ubuntu at vm1:~$ python3 -m venv vv

  Actual result:

  ubuntu at vm1:~$ ls vv/bin
  Activate.ps1  activate  activate.csh  activate.fish  python  python3  python3.10

  Expected result:

  There is a pip command installed inside the virtual environment.

  Weird side note:
  When doing the same with python3.9, both pip3.9 and pip3.10 get installed:

  ubuntu at vm1:~$ python3.9 -m venv v9
  ubuntu at vm1:~$ ls v9/bin
  Activate.ps1  activate  activate.csh  activate.fish  pip  pip3  pip3.10  pip3.9  python  python3  python3.9

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: python3.10-venv 3.10.2-5
  ProcVersionSignature: User Name 5.15.0-18.18-generic 5.15.12
  Uname: Linux 5.15.0-18-generic x86_64
  ApportVersion: 2.20.11-0ubuntu78
  Architecture: amd64
  CasperMD5CheckResult: unknown
  Date: Sun Mar  6 18:15:38 2022
  Ec2AMI: ami-000003fa
  Ec2AMIManifest: FIXME
  Ec2AvailabilityZone: south-2
  Ec2InstanceType: 2C-4GB-40GB
  Ec2Kernel: unavailable
  Ec2Ramdisk: unavailable
  SourcePackage: python3.10
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.10/+bug/1963832/+subscriptions




More information about the foundations-bugs mailing list