<?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: Getting error while installing applicationinsights in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/getting-error-while-installing-applicationinsights/m-p/109739#M9811</link>
    <description>&lt;P&gt;&lt;SPAN&gt;applicationinsights is library i am trying to install from cluster PyPi&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Feb 2025 08:47:38 GMT</pubDate>
    <dc:creator>shiv_DB25</dc:creator>
    <dc:date>2025-02-11T08:47:38Z</dc:date>
    <item>
      <title>Getting error while installing applicationinsights</title>
      <link>https://community.databricks.com/t5/get-started-discussions/getting-error-while-installing-applicationinsights/m-p/109737#M9810</link>
      <description>&lt;P&gt;Library installation attempted on the driver node of cluster 0210-115502-3lo6gkwd and failed. Pip could not find a version that satisfies the requirement for the library. Please check your library version and dependencies. Error code: ERROR_NO_MATCHING_DISTRIBUTION, 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 'azure-identity' --disable-pip-version-check) exited with code 1. WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/azure-identity/&lt;BR /&gt;WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/azure-identity/&lt;BR /&gt;WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/azure-identity/&lt;BR /&gt;WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/azure-identity/&lt;BR /&gt;WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/azure-identity/&lt;BR /&gt;ERROR: Could not find a version that satisfies the requirement azure-identity (from versions: none)&lt;BR /&gt;ERROR: No matching distribution found for azure-identity&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 08:37:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/getting-error-while-installing-applicationinsights/m-p/109737#M9810</guid>
      <dc:creator>shiv_DB25</dc:creator>
      <dc:date>2025-02-11T08:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while installing applicationinsights</title>
      <link>https://community.databricks.com/t5/get-started-discussions/getting-error-while-installing-applicationinsights/m-p/109739#M9811</link>
      <description>&lt;P&gt;&lt;SPAN&gt;applicationinsights is library i am trying to install from cluster PyPi&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 08:47:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/getting-error-while-installing-applicationinsights/m-p/109739#M9811</guid>
      <dc:creator>shiv_DB25</dc:creator>
      <dc:date>2025-02-11T08:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while installing applicationinsights</title>
      <link>https://community.databricks.com/t5/get-started-discussions/getting-error-while-installing-applicationinsights/m-p/138897#M11009</link>
      <description>&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;The error indicates that Databricks could not install the applicationinsights or azure-identity libraries because pip could not find a matching distribution, and network connection attempts to the PyPI repository were repeatedly reset. This is commonly caused by network restrictions or firewall rules that prevent the cluster from accessing PyPI resources.&lt;/P&gt;
&lt;H2 id="common-causes" class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0 md:text-lg [hr+&amp;amp;]:mt-4"&gt;Common Causes&lt;/H2&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;The cluster cannot reach PyPI due to firewall, NSG, or VNet restrictions in Azure.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;The package name or version specified may be incorrect or unavailable on PyPI.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Databricks is deployed in an environment with an ExpressRoute or private networking that restricts outbound internet access.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 id="troubleshooting-steps" class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0 md:text-lg [hr+&amp;amp;]:mt-4"&gt;Troubleshooting Steps&lt;/H2&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Confirm that your Azure Databricks workspace has access to the public internet, or ensure you have configured a private PyPI mirror or allowedlist for required domains (e.g., pypi.org, files.pythonhosted.org) for all cluster nodes.​&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Review the NSG and VNet rules to verify outbound access for protocol ports 443 (HTTPS). Even with NSG rules applied and ER lock removed, you may need explicit exceptions for Databricks clusters to access external PyPI repositories.​&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Check that the library name ("applicationinsights", "azure-identity") is spelled correctly and is available on PyPI.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;If using a custom PyPI repo or mirror (common in private networks), add the repository URL using the "--index-url" pip flag.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 id="recommended-solution" class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0 md:text-lg [hr+&amp;amp;]:mt-4"&gt;Recommended Solution&lt;/H2&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;If you are in a restricted environment (ExpressRoute, custom VNet), set up a private PyPI mirror with the needed packages, or allow access to PyPI URLs through your firewall.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;For immediate workaround, try installing the package by uploading the .whl file manually via the Databricks UI if you have access to the internet elsewhere.​&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Ensure your cluster is configured with appropriate permissions for outbound internet access, or adjust your NSG/firewall rules accordingly.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 id="useful-databricks-docs" class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0 md:text-lg [hr+&amp;amp;]:mt-4"&gt;Useful Databricks Docs&lt;/H2&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Refer to Databricks documentation on library installation in restricted environments for network requirements and manual installation procedures. If you require detailed step-by-step instructions, the Databricks support site offers guides for both standard and custom library setup.&lt;/P&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;If these steps do not resolve your issue, consider posting the full error, along with details about your network setup, in the Databricks Community forums for more targeted troubleshooting from other users and support staff.​&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 11:26:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/getting-error-while-installing-applicationinsights/m-p/138897#M11009</guid>
      <dc:creator>mark_ott</dc:creator>
      <dc:date>2025-11-13T11:26:31Z</dc:date>
    </item>
  </channel>
</rss>

