Use python -m to call virtualenv in init_venv.
It seems python3-virtualenv on Debian Jessie doesn't contain /usr/bin/virtualenv.
This commit is contained in:
parent
cafb487ac9
commit
40781b163e
@ -149,7 +149,7 @@ def create_venv():
|
|||||||
sys_site = ['--system-site-packages']
|
sys_site = ['--system-site-packages']
|
||||||
else:
|
else:
|
||||||
sys_site = []
|
sys_site = []
|
||||||
subprocess.check_call(['virtualenv'] + sys_site +
|
subprocess.check_call([sys.executable, '-m', 'virtualenv'] + sys_site +
|
||||||
['-p', sys.executable, g_path])
|
['-p', sys.executable, g_path])
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user