Getting an error while importing otbApplication

I am getting an error “ImportError: cannot open shared object file: No such file or directory”.

This error happens while importing otbApplication

Please can someone help me to resolve this error.

Hi @Sherilyn ,
The OTB 7 is not maintained anymore and it works on python 3.5. For python 3.11 we advice you to use OTB9 and follow the cookbook (Installation — Orfeo ToolBox 9.0.0 documentation ).
Best regards

Thanks @tristanlaurent . Will follow your advice.