@Meesala, Bhagya Harika Thanks for reply!
ModuleNotFoundError
will usually present itself where the module/package you’re importing is missing. Either it was never defined in requirements.txt
, deployment was done but package installation was never done to produce site-packages
, or the library is there and the package installation was done - but it’s dependent on a native library (.so
files) that is not available in the container.
Ultimately, this will always cause the application/container to crash.
Suggest you refer the detailed steps mentioned in the link- https://azureossd.github.io/2022/11/24/Python-on-Linux-App-Service-and-ModuleNotFound-Errors/