'Azure Databricks pipeline failing because of dependency

we have a Databricks Pipeline which runs every 6 hours most of the time it runs successfully but sometimes its getting failed by throwing below error

ModuleNotFoundError: No module named '<module-name>'

I am new to Databricks can anyone tell me how to fix it.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source