Python 2.7 requirement

I've only tested this on OS X using Python 2.7, so YMMV for other versions.