Brahmareddy
Esteemed Contributor II

Hi mydefaultlogin,

How are you doing today?, As per my understanding, You're right—this happens because when you're running notebooks from your Git folder, Python knows exactly where your project root is and can easily find my_package. But when you deploy using Databricks Asset Bundles (DAB), the notebook runs from a different path (like /Workspace/dev/...), and Python no longer sees your project root by default, so it can't find the package. A simple fix is to manually add your project root to Python's path at the top of your notebook using sys.path.append('/Workspace/dev/my_bundle/files'). This helps Python locate your package just like it does in the Git setup. It’s a common issue with DAB deployments, and this quick adjustment should solve it. Let me know if you’d like help making it reusable!

Regards,

Brahma