virtual environment doesn't contain pip

Bug #1963832 reported by Dr. Jens Harbott
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python3.10 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Steps to reproduce:

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

Actual result:

ubuntu@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@vm1:~$ python3.9 -m venv v9
ubuntu@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)

Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :
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.