No module named ‘cuda’,with pip3 install cuda-python,its error:‘GstNvStreamMux’ object has no attribute ‘request_pad_simple’

It should be you pulled the latest version of deepstream_python_apps, but used the v1.1.8 pyds wheel package.

 rm -rf /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/

./user_deepstream_python_apps_install.sh -b -r v1.1.8