I have Debian 8.5. with a python version 3.4.2 as default. I want to create a virtualenv using the python3 venv module. But running pyvenv in terminal is unable to find the pyvenv:bash: pyvenv: command not foundThere is a venv directory in /usr/lib/python3.4. Why i am unable to use it?
Bash: pyvenv: command not found
debian;python3;virtualenv
In Debian, the best way to find out how to install the necessary package so that a given command will work is to use apt-file, as follows:apt-file search bin/pyvenvThis will show that you need to install python3-venv:apt-get install python3-venv(as root).