Use the value returned by which
:
virtualenv -p /Library/Frameworks/Python.framework/Versions/2.7/bin/python test
Python installations generally create executables and/or links to them with names like:
python
python2
python2.7
but not
python2.7.6
If you are concerned about confusion with the Apple-supplied system Python 2.7, don't be. Its path is at /usr/bin/python
or /usr/bin/python2.7
.