`python3 -m venv venv` instructs you to install python3-venv which doesn't exist

Bug #1532231 reported by Dan Watkins
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
python3.4 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The python3.4-venv package does exist; python3-venv was introduced in python3-defaults 3.4.1-1 in Debian.

---

root@trusty-py3-venv:~# python3 -m venv .venv
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

    apt-get install python3-venv

You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.

root@trusty-py3-venv:~# apt-get install python3-venv
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3-venv

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python3.4 3.4.3-1ubuntu1~14.04.3
ProcVersionSignature: Ubuntu 3.19.0-26.28-generic 3.19.8-ckt4
Uname: Linux 3.19.0-26-generic x86_64
NonfreeKernelModules: btrfs xor raid6_pq ufs msdos xfs libcrc32c binfmt_misc veth ip6table_filter ip6_tables xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp bridge stp llc iptable_filter ip_tables x_tables ppdev parport_pc parport serio_raw dm_multipath scsi_dh autofs4 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd psmouse virtio_scsi
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
Date: Fri Jan 8 15:10:13 2016
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
SourcePackage: python3.4
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Dan Watkins (oddbloke) wrote :
Revision history for this message
Andrew Aikman (aiky30) wrote :

I found a way to fix this was to modify the commnad in the message to be python3.4 not python 3.

Incorrect: apt-get install python3-venv

Correct: apt-get install python3.4-venv

Now you can use the command: python3 -m venv "DIRECTORYNAME"

Revision history for this message
Dan Watkins (oddbloke) wrote :

Yep, that would do it. :)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python3.4 (Ubuntu):
status: New → Confirmed
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.