diff --git a/src/datasets/load.py b/src/datasets/load.py index 1dc933f579c..7bf7d68dd83 100644 --- a/src/datasets/load.py +++ b/src/datasets/load.py @@ -1328,6 +1328,7 @@ def get_module(self) -> DatasetModule: " repo on your local machine. Make sure you have read the code there to avoid malicious use, then" " set the option `trust_remote_code=True` to remove this error." ) + _check_library_imports(name=self.name, local_imports=local_imports) module_path, hash = _load_importable_file( dynamic_modules_path=dynamic_modules_path, module_namespace="datasets",