<?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 Library installation failed for library due to user error for pypi in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/library-installation-failed-for-library-due-to-user-error-for/m-p/125170#M3650</link>
    <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;I get the below error when a cluster job starts up and tries to install a Python .whl file. (Which is hosted on an Azure Artefact feed, though this seems more like a problem of trying to read from a disk/network storage). The failure is seemingly random and intermittent, from the error message it is clearly a networking/timeout problem.&lt;BR /&gt;&lt;BR /&gt;I see in the log below it mentions Retry(total=4 ... Is it possible to increase/modify this? Or perhaps adds some exponential backoff?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Alex&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Library installation attempted on the driver node of cluster xxxxxxxx and failed. Please refer to the following error message or contact Databricks support. Error code: FAULT_OTHER, error message: org.apache.spark.SparkException: Process List(/bin/su, libraries, -c, bash /local_disk0/.ephemeral_nfs/cluster_libraries/python/python_start_clusterwide.sh /local_disk0/.ephemeral_nfs/cluster_libraries/python/bin/pip install 'my.company.library==1.0.0' --disable-pip-version-check) exited with code 1.&amp;nbsp;&amp;nbsp; WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(&amp;lt;pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f872e82bf40&amp;gt;, 'Connectio ...&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jul 2025 11:42:22 GMT</pubDate>
    <dc:creator>AlexMc</dc:creator>
    <dc:date>2025-07-14T11:42:22Z</dc:date>
    <item>
      <title>Library installation failed for library due to user error for pypi</title>
      <link>https://community.databricks.com/t5/administration-architecture/library-installation-failed-for-library-due-to-user-error-for/m-p/125170#M3650</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;I get the below error when a cluster job starts up and tries to install a Python .whl file. (Which is hosted on an Azure Artefact feed, though this seems more like a problem of trying to read from a disk/network storage). The failure is seemingly random and intermittent, from the error message it is clearly a networking/timeout problem.&lt;BR /&gt;&lt;BR /&gt;I see in the log below it mentions Retry(total=4 ... Is it possible to increase/modify this? Or perhaps adds some exponential backoff?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Alex&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Library installation attempted on the driver node of cluster xxxxxxxx and failed. Please refer to the following error message or contact Databricks support. Error code: FAULT_OTHER, error message: org.apache.spark.SparkException: Process List(/bin/su, libraries, -c, bash /local_disk0/.ephemeral_nfs/cluster_libraries/python/python_start_clusterwide.sh /local_disk0/.ephemeral_nfs/cluster_libraries/python/bin/pip install 'my.company.library==1.0.0' --disable-pip-version-check) exited with code 1.&amp;nbsp;&amp;nbsp; WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(&amp;lt;pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f872e82bf40&amp;gt;, 'Connectio ...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 11:42:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/library-installation-failed-for-library-due-to-user-error-for/m-p/125170#M3650</guid>
      <dc:creator>AlexMc</dc:creator>
      <dc:date>2025-07-14T11:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Library installation failed for library due to user error for pypi</title>
      <link>https://community.databricks.com/t5/administration-architecture/library-installation-failed-for-library-due-to-user-error-for/m-p/125172#M3651</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/161657"&gt;@AlexMc&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You can try to increase timeout and retries number using pip command line options:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;pip install 'your_library' \
  --timeout 300 \
  --retries 10 \
  --disable-pip-version-check&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 11:59:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/library-installation-failed-for-library-due-to-user-error-for/m-p/125172#M3651</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-07-14T11:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Library installation failed for library due to user error for pypi</title>
      <link>https://community.databricks.com/t5/administration-architecture/library-installation-failed-for-library-due-to-user-error-for/m-p/125173#M3652</link>
      <description>&lt;P&gt;I would check the network connection between cluster and repository.&amp;nbsp;&lt;BR /&gt;The error shows pip is currently in the retry phase due to a ConnectTimeoutError, indicating network connectivity issues when trying to reach the package repository.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 12:06:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/library-installation-failed-for-library-due-to-user-error-for/m-p/125173#M3652</guid>
      <dc:creator>Pat</dc:creator>
      <dc:date>2025-07-14T12:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Library installation failed for library due to user error for pypi</title>
      <link>https://community.databricks.com/t5/administration-architecture/library-installation-failed-for-library-due-to-user-error-for/m-p/125179#M3653</link>
      <description>&lt;P&gt;Thanks both - I think the problem is that this library installation is called when creating a new Job &amp;amp; Task via the rest endpoint. Where the libraires are specified in the .json file.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;So short version, don't think I can 'get at' the pip install call in order to add extra parameters. Instead sounds like I might have to remove the libraries from the .json and install at the notebook level with a %pip command. (Where I have more control of the retry logic)&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 13:29:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/library-installation-failed-for-library-due-to-user-error-for/m-p/125179#M3653</guid>
      <dc:creator>AlexMc</dc:creator>
      <dc:date>2025-07-14T13:29:26Z</dc:date>
    </item>
  </channel>
</rss>

