--- a/src/eric7/VirtualEnv/VirtualenvManager.py Sat Sep 09 17:17:11 2023 +0200 +++ b/src/eric7/VirtualEnv/VirtualenvManager.py Sat Sep 09 17:20:31 2023 +0200 @@ -90,11 +90,11 @@ for venvName in environments: environment = environments[venvName] environment["name"] = venvName - if environment["is_remote"] or os.access( - environment["interpreter"], os.X_OK - ): - if "is_global" not in environment: - environment["is_global"] = environment["path"] == "" + if ( + environment["is_remote"] + or os.access(environment["interpreter"], os.X_OK) + ) and "is_global" not in environment: + environment["is_global"] = environment["path"] == "" self.__virtualEnvironments[venvName] = VirtualenvMetaData.from_dict( environment