Databricks App deployment fails: mysqlclient build error (pkg-config not found)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hi Community Members,
I’m deploying a Python project as a Databricks App, but deployment fails during dependency installation with:
ERROR: Failed to build 'MySQL client' pkg-config: not found Exception: Can not find valid pkg-config name
The dependency is pulled indirectly via:
ibis-framework[MySQL]
From my understanding, Databricks Apps don’t allow OS-level dependencies, and MySQL client requires native MySQL/MariaDB libraries—so pip fails when trying to build it from source.
Questions:
Are there any supported workarounds for native dependencies in Databricks Apps?
Thanks in advance for your help!