How to develop Deepstream application from Ubuntu Host machine?

I am developing a deepstream application on jetson nano. But I want to continue development from my Ubuntu 20 Host machine, because I can access AI tools in my environment. Currently I am trying to install Deepstream correctly. Actually I installed but I am getting some errors like:

pgie = Gst.ElementFactory.make("nvinfer", "primary-inference")
if not pgie:
    sys.stderr.write("Unable to create pgie\n")

Here pipeline could not find nvinfer

or

streammux = Gst.ElementFactory.make("nvstreammux", "Stream-muxer")
if not streammux:
    sys.stderr.write("Unable to create NvStreamMux\n")

Here the nvstreammux is not found.

Are these pipeline elements special for Jetson devices? What is the best practice for developing deepstream application? Should i use Jetson as a development environment?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Jetson nano
• DeepStream Version 6
• JetPack Version (valid for Jetson only) 4
• TensorRT Version 8
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs) Questions
• 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)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

No, If you install the DeepStream SDK correctly, it should work on both jetson/x86

It is recommended to use Docker to avoid complicated installation process

Using Jetson as a development environment is best practice, as some plugins only work on Jetson/X86.

But it is very easy to develop on X86 and then port to Jetson, with only very minor differences.