<?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 Re: Fail to install package dependency located on private pypi server during .whl installation in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/fail-to-install-package-dependency-located-on-private-pypi/m-p/64453#M32575</link>
    <description>&lt;P&gt;Hey Felix, I have run into a similar issue recently (my wheel needs a Git HTTPS redirect that's specified in the init script - but I can install it fine from inside a notebook).&lt;/P&gt;&lt;P&gt;I wonder whether you found a solution (perhaps moving a more recent DBR version)?&lt;/P&gt;</description>
    <pubDate>Sat, 23 Mar 2024 19:17:17 GMT</pubDate>
    <dc:creator>robbe</dc:creator>
    <dc:date>2024-03-23T19:17:17Z</dc:date>
    <item>
      <title>Fail to install package dependency located on private pypi server during .whl installation</title>
      <link>https://community.databricks.com/t5/data-engineering/fail-to-install-package-dependency-located-on-private-pypi/m-p/46700#M28088</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I recently switched from DBR 12.2 LTS to DBR 13.3 LTS and observed the following behavior:&lt;/P&gt;&lt;P&gt;My goal is to install a &lt;STRONG&gt;python library&lt;/STRONG&gt; from a &lt;STRONG&gt;.whl&lt;/STRONG&gt; file. I am using the UI for this task (Cluster settings -&amp;gt; Libraries -&amp;gt; Install new -&amp;gt; 'Python Whl' as Library Type and dropping my .whl file in there). The library installation fails with the following error message:&lt;/P&gt;&lt;PRE&gt;Library installation attempted on the driver node of cluster [*redacted*] and failed. Please refer to the following error message to fix the library or contact Databricks support. Error Code: DRIVER_LIBRARY_INSTALLATION_FAILURE. 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 --upgrade /local_disk0/tmp/addedFilec[*redacted*]/[*redacted*] --disable-pip-version-check) exited with code 1. ERROR: Could not find a version that satisfies the requirement [*redacted*] (from [*redacted*]) (from versions: none)
ERROR: No matching distribution found for [*redacted*]&lt;/PRE&gt;&lt;P&gt;The dependency for which no matching version could be found is located on a private PyPi repository (Azure Artifact Feed), which has been registered in a global init script as&amp;nbsp;a pip extra index url. The execution of the global init script has been successful.&lt;/P&gt;&lt;P&gt;Three observations:&lt;/P&gt;&lt;P&gt;1) Installing the .whl library on DBR 12.2 LTS &amp;amp; previous versions works fine (I use this setup since quite a while).&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Installing the .whl library fails on all DBR 13.x versions.&lt;/P&gt;&lt;P&gt;2) &lt;span class="lia-unicode-emoji" title=":police_car_light:"&gt;🚨&lt;/span&gt; Executing the same command&lt;/P&gt;&lt;PRE&gt;pip install --upgrade /local_disk0/tmp/addedFilec[*redacted*]/[*redacted*] --disable-pip-version-check&lt;/PRE&gt;&lt;P&gt;in the Web Terminal of the cluster &lt;STRONG&gt;works&lt;/STRONG&gt; (!). I can verify this by 'pip list' in a notebook after manual installation of the .whl library. How can I install the .whl library? Could this be a bug in DBR 13.x versions? Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 08:07:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/fail-to-install-package-dependency-located-on-private-pypi/m-p/46700#M28088</guid>
      <dc:creator>felix_counter</dc:creator>
      <dc:date>2023-09-29T08:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to install package dependency located on private pypi server during .whl installation</title>
      <link>https://community.databricks.com/t5/data-engineering/fail-to-install-package-dependency-located-on-private-pypi/m-p/46703#M28089</link>
      <description>&lt;P&gt;Refining my question at the end of the original post:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Why does the installation of the .whl library not work in the first place?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;My goal is to use the library in a "python_wheel_task", which requires installation of the library similarly to the above-described (and results in the same error using DBR 13.x).&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 08:24:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/fail-to-install-package-dependency-located-on-private-pypi/m-p/46703#M28089</guid>
      <dc:creator>felix_counter</dc:creator>
      <dc:date>2023-09-29T08:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to install package dependency located on private pypi server during .whl installation</title>
      <link>https://community.databricks.com/t5/data-engineering/fail-to-install-package-dependency-located-on-private-pypi/m-p/64453#M32575</link>
      <description>&lt;P&gt;Hey Felix, I have run into a similar issue recently (my wheel needs a Git HTTPS redirect that's specified in the init script - but I can install it fine from inside a notebook).&lt;/P&gt;&lt;P&gt;I wonder whether you found a solution (perhaps moving a more recent DBR version)?&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2024 19:17:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/fail-to-install-package-dependency-located-on-private-pypi/m-p/64453#M32575</guid>
      <dc:creator>robbe</dc:creator>
      <dc:date>2024-03-23T19:17:17Z</dc:date>
    </item>
  </channel>
</rss>

