From 40781b163e1f11f62f0df20f9dec16b3e06e8daf Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 16 Dec 2014 17:24:00 +0100 Subject: [PATCH] Use python -m to call virtualenv in init_venv. It seems python3-virtualenv on Debian Jessie doesn't contain /usr/bin/virtualenv. --- scripts/init_venv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/init_venv.py b/scripts/init_venv.py index 009fa86ab..964533eb7 100644 --- a/scripts/init_venv.py +++ b/scripts/init_venv.py @@ -149,7 +149,7 @@ def create_venv(): sys_site = ['--system-site-packages'] else: sys_site = [] - subprocess.check_call(['virtualenv'] + sys_site + + subprocess.check_call([sys.executable, '-m', 'virtualenv'] + sys_site + ['-p', sys.executable, g_path])