When the OS PATH variable cannot be retrieved, decord will fail.
- Dominant language
- C++
- Stars
- 2.5k
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
File "/home/snuser/.local/lib/python3.11/site-packages/decord/__init__.py", line 4, in
from ._ffi.runtime_ctypes import TypeCode
File "/home/snuser/.local/lib/python3.11/site-packages/decord/_ffi/runtime_ctypes.py", line 8, in
from .base import _LIB, check_call
File "/home/snuser/.local/lib/python3.11/site-packages/decord/_ffi/base.py", line 47, in
_LIB, _LIB_NAME = _load_lib()
^^^^^^^^^^^
File "/home/snuser/.local/lib/python3.11/site-packages/decord/_ffi/base.py", line 38, in _load_lib
os.environ['PATH'] += os.pathsep + os.path.dirname(lib_path[0])
~~~~~~~~~~^^^^^^^^
File "", line 679, in __getitem__
KeyError: 'PATH'
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.