Python bindings problems

Please provide complete information as applicable to your setup.

**• Hardware Platform - Jetson **
• DeepStream Version 6.0.1
• JetPack Version: 4.6.1-b110
• TensorRT Version 8.2
• Requirement details
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I couldn’t find the pyds.so - found one online and added it to apps>>common and imported it in my program.

from common import pyds

  • the program is running but I have the following error:

    File “deepstream_test1_rtsp_in_rtsp_out4.py”, line 157, in tiler_src_pad_buffer_probe
    user_meta_data = pyds.NvDsAnalyticsFrameMeta.cast(user_meta.user_meta_data)
    AttributeError: module ‘common.pyds’ has no attribute ‘NvDsAnalyticsFrameMeta’

Is the problem related to pyds.so or does anyone how this can be fixed?

Please follow the stpes in section Prerequisites and “Compiling Python Bindings” deepstream_python_apps/HOWTO.md at master · NVIDIA-AI-IOT/deepstream_python_apps · GitHub

Thank you, recompiled the pyds.so and add it directly to the folder and import fixed this.