diff --git a/pysollib/util.py b/pysollib/util.py index f0c53581..8c669f43 100644 --- a/pysollib/util.py +++ b/pysollib/util.py @@ -23,7 +23,13 @@ # imports import os -import site +try: + import site +except Exception: + class Dummy: + def __init__(self): + self.PREFIXES = [] + site = Dummy() import sys # PySol imports