`python3 -m venv venv` instructs you to install python3-venv which doesn't exist
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-
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-
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~
ProcVersionSign
Uname: Linux 3.19.0-26-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
Date: Fri Jan 8 15:10:13 2016
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
SourcePackage: python3.4
UpgradeStatus: No upgrade log present (probably fresh install)
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"