Yes, I did that before. But then I can see only C language apps inside SDK. So I tried for Python apps.
Now I removed all deepstream folders and files and reinstalled again. When I run ./install , I get below output:
update-alternatives: warning: forcing reinstallation of alternative /opt/nvidia/deepstream/deepstream-4.0/lib/gst-plugins because link group deepstream-plugins is broken
update-alternatives: warning: forcing reinstallation of alternative /opt/nvidia/deepstream/deepstream-4.0/lib/libnvv4l2.so because link group deepstream-v4l2library is broken
update-alternatives: warning: forcing reinstallation of alternative /opt/nvidia/deepstream/deepstream-4.0/lib/libnvv4lconvert.so because link group deepstream-v4lconvert is broken
update-alternatives: warning: forcing reinstallation of alternative /opt/nvidia/deepstream/deepstream-4.0/bin/deepstream-app because link group deepstream-app is broken
update-alternatives: warning: forcing reinstallation of alternative /opt/nvidia/deepstream/deepstream-4.0/bin/deepstream-test1-app because link group deepstream-test1-app is broken
update-alternatives: warning: forcing reinstallation of alternative /opt/nvidia/deepstream/deepstream-4.0/bin/deepstream-test2-app because link group deepstream-test2-app is broken
update-alternatives: warning: forcing reinstallation of alternative /opt/nvidia/deepstream/deepstream-4.0/bin/deepstream-test3-app because link group deepstream-test3-app is broken
update-alternatives: warning: forcing reinstallation of alternative /opt/nvidia/deepstream/deepstream-4.0/bin/deepstream-test4-app because link group deepstream-test4-app is broken
update-alternatives: warning: forcing reinstallation of alternative /opt/nvidia/deepstream/deepstream-4.0/bin/deepstream-test5-app because link group deepstream-test5-app is broken
update-alternatives: warning: forcing reinstallation of alternative /opt/nvidia/deepstream/deepstream-4.0/bin/deepstream-user-metadata-app because link group deepstream-user-metadata-app is broken
update-alternatives: warning: forcing reinstallation of alternative /opt/nvidia/deepstream/deepstream-4.0/bin/deepstream-dewarper-app because link group deepstream-dewarper-app is broken
update-alternatives: warning: forcing reinstallation of alternative /opt/nvidia/deepstream/deepstream-4.0/bin/deepstream-nvof-app because link group deepstream-nvof-app is broken
update-alternatives: warning: forcing reinstallation of alternative /opt/nvidia/deepstream/deepstream-4.0/bin/deepstream-image-decode-app because link group deepstream-image-decode-app is broken
update-alternatives: warning: forcing reinstallation of alternative /opt/nvidia/deepstream/deepstream-4.0/bin/deepstream-gst-metadata-app because link group deepstream-gst-metadata-app is broken
update-alternatives: warning: forcing reinstallation of alternative /opt/nvidia/deepstream/deepstream-4.0/bin/deepstream-perf-demo because link group deepstream-perf-demo is broken
update-alternatives: warning: forcing reinstallation of alternative /opt/nvidia/deepstream/deepstream-4.0/bin/deepstream-segmentation-app because link group deepstream-segmentation-app is broken
update-alternatives: warning: forcing reinstallation of alternative /opt/nvidia/deepstream/deepstream-4.0/bin/deepstream-infer-tensor-meta-app because link group deepstream-infer-tensor-meta-app is broken
Now If I try ‘deepstream-app’ command then I get warnings:
(gst-plugin-scanner:26030): GStreamer-WARNING **: 15:09:19.585: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideo4linux2.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:26030): GStreamer-WARNING **: 15:09:19.585: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:26030): GStreamer-WARNING **: 15:09:19.585: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_eglglessink.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:26030): GStreamer-WARNING **: 15:09:19.586: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:26030): GStreamer-WARNING **: 15:09:19.586: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideoconvert.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:26030): GStreamer-WARNING **: 15:09:19.586: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_tracker.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:26030): GStreamer-WARNING **: 15:09:19.586: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_ofvisual.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:26030): GStreamer-WARNING **: 15:09:19.586: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_of.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:26030): GStreamer-WARNING **: 15:09:19.589: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_segvisual.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:26030): GStreamer-WARNING **: 15:09:19.589: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistreamtiler.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:26030): GStreamer-WARNING **: 15:09:19.589: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_jpegdec.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:26030): GStreamer-WARNING **: 15:09:19.589: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dewarper.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:26030): GStreamer-WARNING **: 15:09:19.590: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:26030): GStreamer-WARNING **: 15:09:19.590: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dsexample.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
** ERROR: <main:602>: Specify config file with -c option
Quitting
App run failed
And if I try Python app: python3 deepstream_test_1.py /home/archana/deepstream/samples/sample_720p.h264
Creating Pipeline
Creating Source
Creating H264Parser
Creating Decoder
Unable to create Nvv4l2 Decoder
Unable to create NvStreamMux
Unable to create pgie
Unable to create nvvidconv
Unable to create nvosd
Creating EGLSinkUnable to create egl sink
Playing file /home/archana/deepstream/samples/sample_720p.h264
Traceback (most recent call last):
File “deepstream_test_1.py”, line 263, in
sys.exit(main(sys.argv))
File “deepstream_test_1.py”, line 196, in main
streammux.set_property(‘width’, 1920)
AttributeError: ‘NoneType’ object has no attribute ‘set_property’
This is same error, when 2 days ago I tried some dependent package installation with TensorRT and opened an issue Unable to create Nvv4l2 Decoder, NvStreamMux, pgie, nvvidconv, nvosd: Error while running DeepStream 4.0.2 Python apps
I think I need to have a clean installation with exact versions required for DeepStream’s latest version. I’m already referring the installation guides from Nvidia’s site and still deepstream is not working for me. It would be great if you can guide me through exact versions and pre-installation requirements for DeepStream for Python apps.
Thank you,
Archana