import platform if platform.system() != 'Linux': raise RuntimeError('invalid system: ' + platform.system())