Added python version check to check for version 2.7.X