<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Databricks App deployment failing due to mysqlclient build error (pkg-config not found) in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-app-deployment-failing-due-to-mysqlclient-build-error/m-p/143742#M52218</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am trying to deploy a Python project as a &lt;STRONG&gt;Databricks App, but the deployment fails during dependency installation with the following error:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;ERROR: Failed &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;to build &lt;SPAN class=""&gt;'mysqlclient' &lt;SPAN class=""&gt;when getting requirements &lt;SPAN class=""&gt;to build wheel pkg-config: &lt;SPAN class=""&gt;not &lt;SPAN class=""&gt;found &lt;SPAN class=""&gt;Exception: Can &lt;SPAN class=""&gt;not find &lt;SPAN class=""&gt;valid pkg-config &lt;SPAN class=""&gt;name.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;From the logs, it looks like pip is attempting to build mysqlclient from source, but the Databricks App runtime does not have access to system-level packages such as pkg-config or MySQL client libraries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Relevant log snippet:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;SPAN&gt;Exception: Can &lt;/SPAN&gt;&lt;SPAN class=""&gt;not find valid pkg-config name. Specify MYSQLCLIENT_CFLAGS &lt;SPAN class=""&gt;and MYSQLCLIENT_LDFLAGS env vars manually&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;P&gt;The dependency appears to be pulled indirectly via:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;ibis-framework&lt;SPAN class=""&gt;[mysql]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;Are there any &lt;STRONG&gt;Databricks-approved workarounds&lt;SPAN&gt; for native dependencies in Apps, or is using pure-Python drivers the only option?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;P&gt;Any guidance or best practices from the community would be really helpful.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 12 Jan 2026 11:25:11 GMT</pubDate>
    <dc:creator>vamsi_simbus</dc:creator>
    <dc:date>2026-01-12T11:25:11Z</dc:date>
    <item>
      <title>Databricks App deployment failing due to mysqlclient build error (pkg-config not found)</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-app-deployment-failing-due-to-mysqlclient-build-error/m-p/143742#M52218</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am trying to deploy a Python project as a &lt;STRONG&gt;Databricks App, but the deployment fails during dependency installation with the following error:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;ERROR: Failed &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;to build &lt;SPAN class=""&gt;'mysqlclient' &lt;SPAN class=""&gt;when getting requirements &lt;SPAN class=""&gt;to build wheel pkg-config: &lt;SPAN class=""&gt;not &lt;SPAN class=""&gt;found &lt;SPAN class=""&gt;Exception: Can &lt;SPAN class=""&gt;not find &lt;SPAN class=""&gt;valid pkg-config &lt;SPAN class=""&gt;name.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;From the logs, it looks like pip is attempting to build mysqlclient from source, but the Databricks App runtime does not have access to system-level packages such as pkg-config or MySQL client libraries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Relevant log snippet:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;SPAN&gt;Exception: Can &lt;/SPAN&gt;&lt;SPAN class=""&gt;not find valid pkg-config name. Specify MYSQLCLIENT_CFLAGS &lt;SPAN class=""&gt;and MYSQLCLIENT_LDFLAGS env vars manually&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;P&gt;The dependency appears to be pulled indirectly via:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;ibis-framework&lt;SPAN class=""&gt;[mysql]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;Are there any &lt;STRONG&gt;Databricks-approved workarounds&lt;SPAN&gt; for native dependencies in Apps, or is using pure-Python drivers the only option?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;P&gt;Any guidance or best practices from the community would be really helpful.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 12 Jan 2026 11:25:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-app-deployment-failing-due-to-mysqlclient-build-error/m-p/143742#M52218</guid>
      <dc:creator>vamsi_simbus</dc:creator>
      <dc:date>2026-01-12T11:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks App deployment failing due to mysqlclient build error (pkg-config not found)</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-app-deployment-failing-due-to-mysqlclient-build-error/m-p/146321#M52626</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/135943"&gt;@vamsi_simbus&lt;/a&gt;!&lt;BR /&gt;This post looks similar to &lt;A href="https://community.databricks.com/t5/data-engineering/databricks-app-deployment-fails-mysqlclient-build-error-pkg/m-p/143744#M52219" target="_blank"&gt;another post&lt;/A&gt; you shared, and a response has already been provided there. I recommend continuing the discussion in that thread to keep the conversation focused and organised.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Jan 2026 09:56:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-app-deployment-failing-due-to-mysqlclient-build-error/m-p/146321#M52626</guid>
      <dc:creator>Advika</dc:creator>
      <dc:date>2026-01-31T09:56:22Z</dc:date>
    </item>
  </channel>
</rss>

