Windows has no 'grp' module. Put import grp in try statement