--- ./lib/pychess/System/prefix.py.orig 2023-04-17 16:29:30.864423736 +0300 +++ ./lib/pychess/System/prefix.py 2023-04-17 16:30:19.537375575 +0300 @@ -16,7 +16,7 @@ _installed = True else: home_local = os.path.expanduser("~") + "/.local" - if sys.prefix in __file__: + if sys.prefix in __file__ and not sys.prefix in home_local: for sub in ( "share", "games",