In the init function of KnowledgeBase a strict check on type for the graph variable is preformed. In most cases this works as the PosixPath type is used in linux systems. I happened to be accessing the library from my Windows machine today, unfortunately the ImportLib code declares a different path type depending on the OS. For windows that is the WindowsPath object. I believe all of all possible Path objects have a root class of "Path" so if you do an instance check on Path instead it should work for all operating systems.
In the init function of KnowledgeBase a strict check on type for the graph variable is preformed. In most cases this works as the PosixPath type is used in linux systems. I happened to be accessing the library from my Windows machine today, unfortunately the ImportLib code declares a different path type depending on the OS. For windows that is the WindowsPath object. I believe all of all possible Path objects have a root class of "Path" so if you do an instance check on Path instead it should work for all operating systems.