Fixes an incompatibility with Python 2.6 and 3.1. Scipy is not required when using Python 2.7 or 3.2+.