Error while creating databricks custom app
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2025 11:51 AM
I am trying to create a simple databricks custom app but I am getting Error: Could not import 'app'. error.
app.yaml file
env:
- name: FLASK_APP
value: '/Workspace/Users/sam@xxx.com/databricks_apps/hello-world_2025_11_13-16_19/Gaap_commentry/app'
command: [
"flask",
"app.py",
"run"
]
Looks like it's not able to locate the app. How I can fix the import error