This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Description
Python 3.11.5 (main, Sep 11 2023, 13:54:46) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
import PyNvCodec as nvc
Traceback (most recent call last):
File "/home/kevin/anaconda3/lib/python3.11/site-packages/PyNvCodec/init.py", line 17, in
from ._PyNvCodec import * # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: /lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/home/kevin/anaconda3/lib/python3.11/site-packages/PyNvCodec/init.py", line 21, in
raise RuntimeError("Failed to import native module _PyNvCodec! "
RuntimeError: Failed to import native module _PyNvCodec! Please check whether "/home/kevin/anaconda3/lib/python3.11/site-packages/PyNvCodec/_PyNvCodec.cpython-311-x86_64-linux-gnu.so" exists and can find all library dependencies (CUDA, ffmpeg).
On Unix systems, you can use ldd on the file to see whether it can find all dependencies.
On Windows, you can use "dumpbin /dependents" in a Visual Studio command prompt or
https://github.com/lucasg/Dependencies/releases.