diff --git a/system/service.py b/system/service.py index 275bac900a9..fea5722710e 100644 --- a/system/service.py +++ b/system/service.py @@ -106,7 +106,8 @@ import select import time import string -from distutils.version import LooseVersion +if platform.system() == 'Linux': + from distutils.version import LooseVersion class Service(object): """