/usr/bin/env python2 on debian stable from a virtualenv picks up the system python, as noted before, but it will be working on debian testing (jessie):
openeyedev@laptop01:~/tmp/buildout_test$ . sandbox/bin/activate
(sandbox)openeyedev@laptop01:~/tmp/buildout_test$ which python
/home/openeyedev/tmp/buildout_test/sandbox/bin/python
(sandbox)openeyedev@laptop01:~/tmp/buildout_test$ virtualenv --version
1.11.2
(sandbox)openeyedev@laptop01:~/tmp/buildout_test$ virtualenv2 --version
bash: virtualenv2: opdracht niet gevonden
(sandbox)openeyedev@laptop01:~/tmp/buildout_test$ /usr/bin/env python2
Python 2.7.6 (default, Jan 11 2014, 17:06:02)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.prefix
'/home/openeyedev/tmp/buildout_test/sandbox'
/usr/bin/env python2 on debian stable from a virtualenv picks up the system python, as noted before, but it will be working on debian testing (jessie):
openeyedev@ laptop01: ~/tmp/buildout_ test$ . sandbox/ bin/activate openeyedev@ laptop01: ~/tmp/buildout_ test$ which python v/tmp/buildout_ test/sandbox/ bin/python openeyedev@ laptop01: ~/tmp/buildout_ test$ virtualenv --version openeyedev@ laptop01: ~/tmp/buildout_ test$ virtualenv2 --version openeyedev@ laptop01: ~/tmp/buildout_ test$ /usr/bin/env python2 openeyedev/ tmp/buildout_ test/sandbox'
(sandbox)
/home/openeyede
(sandbox)
1.11.2
(sandbox)
bash: virtualenv2: opdracht niet gevonden
(sandbox)
Python 2.7.6 (default, Jan 11 2014, 17:06:02)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.prefix
'/home/