virtual environment doesn't contain pip
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
ProcVersionSign
Uname: Linux 5.15.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu78
Architecture: amd64
CasperMD5CheckR
Date: Sun Mar 6 18:15:38 2022
Ec2AMI: ami-000003fa
Ec2AMIManifest: FIXME
Ec2Availability
Ec2InstanceType: 2C-4GB-40GB
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
SourcePackage: python3.10
UpgradeStatus: No upgrade log present (probably fresh install)