We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 330b4d5 commit 7993070Copy full SHA for 7993070
src/torchcodec/decoders/_core/ops.py
@@ -44,6 +44,8 @@ def load_torchcodec_extension():
44
pybind_ops_module_name,
45
_get_extension_path(pybind_ops_library_name),
46
)
47
+ if spec is None:
48
+ raise ImportError("Unable to load spec for pybind_ops")
49
50
global _pybind_ops
51
_pybind_ops = importlib.util.module_from_spec(spec)
0 commit comments