Please provide complete information as applicable to your setup.
• Hardware Platform : GPU
• DeepStream Version : 6.1.1
• TensorRT Version : 8.4.1.5
• NVIDIA GPU Driver Version (valid for GPU only) : 525.60.13
• Issue Type : bugs
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
I am trying to install python bindings of deepstream(Release DeepStream_Python_Apps_Bindings_v1.1.4 · NVIDIA-AI-IOT/deepstream_python_apps · GitHub) as described here(deepstream_python_apps/HOWTO.md at master · NVIDIA-AI-IOT/deepstream_python_apps · GitHub)
pip3 install ~/pyds-1.1.4-py3-none-linux_x86_64.whl
results in the following error -
Processing /home/pyds-1.1.4-py3-none-linux_x86_64.whl
Collecting PyGObject
Using cached PyGObject-3.42.2.tar.gz (719 kB)
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing metadata (pyproject.toml) … done
Collecting pgi
Using cached pgi-0.0.11.2.tar.gz (239 kB)
Preparing metadata (setup.py) … error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
Traceback (most recent call last):
File “”, line 2, in
File “”, line 34, in
File “/tmp/pip-install-2bwzhm6g/pgi_4115e20463ac4cac87d9057d7ccaf425/setup.py”, line 18, in
import pgi
File “/tmp/pip-install-2bwzhm6g/pgi_4115e20463ac4cac87d9057d7ccaf425/pgi/init.py”, line 10, in
from .importer import require_version, get_required_version
File “/tmp/pip-install-2bwzhm6g/pgi_4115e20463ac4cac87d9057d7ccaf425/pgi/importer.py”, line 15, in
from .clib.gir import GIRepository
File “/tmp/pip-install-2bwzhm6g/pgi_4115e20463ac4cac87d9057d7ccaf425/pgi/clib/gir/init.py”, line 9, in
from .gibaseinfo import GIInfoType, GIBaseInfo, GIAttributeIter
File “/tmp/pip-install-2bwzhm6g/pgi_4115e20463ac4cac87d9057d7ccaf425/pgi/clib/gir/gibaseinfo.py”, line 12, in
from .gitypelib import GITypelib
File “/tmp/pip-install-2bwzhm6g/pgi_4115e20463ac4cac87d9057d7ccaf425/pgi/clib/gir/gitypelib.py”, line 16, in
_gir = find_library(“girepository-1.0”)
File “/tmp/pip-install-2bwzhm6g/pgi_4115e20463ac4cac87d9057d7ccaf425/pgi/clib/_utils.py”, line 99, in find_library
_internal[name] = cdll.LoadLibrary(_so_mapping[name])
File “/data/opt/miniconda/envs/deepstream/lib/python3.8/ctypes/init.py”, line 451, in LoadLibrary
return self._dlltype(name)
File “/data/opt/miniconda/envs/deepstream/lib/python3.8/ctypes/init.py”, line 373, in init
self._handle = _dlopen(self._name, mode)
OSError: /lib/x86_64-linux-gnu/libgobject-2.0.so.0: undefined symbol: ffi_type_uint32, version LIBFFI_BASE_7.0
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Can someone point out what am I missing here?