-1

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 found

There is a venv directory in /usr/lib/python3.4. Why i am unable to use it?

2

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/pyvenv

This will show that you need to install python3-venv:

apt-get install python3-venv

(as root).

2

Learn Debian!

apt-file search pyvenv
  • on Debian Stretch is apt search pyvenv – Mladen Uzelac Aug 29 '17 at 13:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.