diff --git a/pyg_lib/__init__.py b/pyg_lib/__init__.py index 884225b0..dd83a088 100644 --- a/pyg_lib/__init__.py +++ b/pyg_lib/__init__.py @@ -21,7 +21,7 @@ def load_library(lib_name: str) -> None: loader_details = (importlib.machinery.ExtensionFileLoader, importlib.machinery.EXTENSION_SUFFIXES) - path = osp.abspath(osp.join(osp.dirname(__file__), '../build')) + path = osp.abspath(osp.join(osp.dirname(__file__), '..')) ext_finder = importlib.machinery.FileFinder(path, loader_details) spec = ext_finder.find_spec(lib_name)