<?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 python wheel cannot be installed as library. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/python-wheel-cannot-be-installed-as-library/m-p/27688#M19549</link>
    <description>&lt;P&gt;When I try to install the python whl library, I get the below error. However I can install it as a jar and it works fine. One difference is that I am creating my own cluster by cloning an existing cluster and copying the whl to a folder called testing in dbfs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it mandatory that the whl should be in dbfs:/FileStore/jars/ folder?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Library installation attempted on the driver node of cluster 0930-154215-fcm3m6pc 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(/databricks/python/bin/pip, install, --upgrade, --find-links=/local_disk0/spark-1032c562-aec3-4228-b221-6a5b507e6b65/userFiles-5ea00ae0-697e-4804-98e4-987fd932aebe, /local_disk0/spark-1032c562-aec3-4228-b221-6a5b507e6b65/userFiles-5ea00ae0-697e-4804-98e4-987fd932aebe/shared_functions-1.0.0.0-py3-none-any.whl, --disable-pip-version-check) exited with code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. ERROR: shared-functions has an invalid wheel, .dist-info directory 'shared_functions-1.0.0.0.dist-info' does not start with 'shared-functions'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1360i13DBD5BD75675389/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Oct 2022 20:08:44 GMT</pubDate>
    <dc:creator>vk217</dc:creator>
    <dc:date>2022-10-12T20:08:44Z</dc:date>
    <item>
      <title>python wheel cannot be installed as library.</title>
      <link>https://community.databricks.com/t5/data-engineering/python-wheel-cannot-be-installed-as-library/m-p/27688#M19549</link>
      <description>&lt;P&gt;When I try to install the python whl library, I get the below error. However I can install it as a jar and it works fine. One difference is that I am creating my own cluster by cloning an existing cluster and copying the whl to a folder called testing in dbfs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it mandatory that the whl should be in dbfs:/FileStore/jars/ folder?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Library installation attempted on the driver node of cluster 0930-154215-fcm3m6pc 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(/databricks/python/bin/pip, install, --upgrade, --find-links=/local_disk0/spark-1032c562-aec3-4228-b221-6a5b507e6b65/userFiles-5ea00ae0-697e-4804-98e4-987fd932aebe, /local_disk0/spark-1032c562-aec3-4228-b221-6a5b507e6b65/userFiles-5ea00ae0-697e-4804-98e4-987fd932aebe/shared_functions-1.0.0.0-py3-none-any.whl, --disable-pip-version-check) exited with code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. ERROR: shared-functions has an invalid wheel, .dist-info directory 'shared_functions-1.0.0.0.dist-info' does not start with 'shared-functions'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1360i13DBD5BD75675389/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 20:08:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/python-wheel-cannot-be-installed-as-library/m-p/27688#M19549</guid>
      <dc:creator>vk217</dc:creator>
      <dc:date>2022-10-12T20:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: python wheel cannot be installed as library.</title>
      <link>https://community.databricks.com/t5/data-engineering/python-wheel-cannot-be-installed-as-library/m-p/27689#M19550</link>
      <description>&lt;P&gt;@Vikas B​&amp;nbsp;: What DBR version you are using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please do &lt;/P&gt;&lt;P&gt;%sh &lt;/P&gt;&lt;P&gt;ls -l /dbfs/FileStore/shared_functions-1.0.0.0-py3-none-any.whl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from a notebook&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 12:51:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/python-wheel-cannot-be-installed-as-library/m-p/27689#M19550</guid>
      <dc:creator>Sivaprasad1</dc:creator>
      <dc:date>2022-10-13T12:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: python wheel cannot be installed as library.</title>
      <link>https://community.databricks.com/t5/data-engineering/python-wheel-cannot-be-installed-as-library/m-p/27690#M19551</link>
      <description>&lt;P&gt;@Sivaprasad C S​&amp;nbsp; This is what I get when I run that command.&lt;/P&gt;&lt;P&gt;-rwxrwxrwx 1 root root 20951 Oct 12 16:51 /dbfs/FileStore/shared_functions-1.0.0.0-py3-none-any.whl&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 15:02:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/python-wheel-cannot-be-installed-as-library/m-p/27690#M19551</guid>
      <dc:creator>vk217</dc:creator>
      <dc:date>2022-10-13T15:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: python wheel cannot be installed as library.</title>
      <link>https://community.databricks.com/t5/data-engineering/python-wheel-cannot-be-installed-as-library/m-p/27691#M19552</link>
      <description>&lt;P&gt;I think you have - (dash) in some places and _ (low dash) in others. Please unify.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Oct 2022 19:02:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/python-wheel-cannot-be-installed-as-library/m-p/27691#M19552</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-10-16T19:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: python wheel cannot be installed as library.</title>
      <link>https://community.databricks.com/t5/data-engineering/python-wheel-cannot-be-installed-as-library/m-p/27692#M19553</link>
      <description>&lt;P&gt;Hi @Vikas B​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or &lt;B&gt;mark an answer as best&lt;/B&gt;? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Nov 2022 06:49:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/python-wheel-cannot-be-installed-as-library/m-p/27692#M19553</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-20T06:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: python wheel cannot be installed as library.</title>
      <link>https://community.databricks.com/t5/data-engineering/python-wheel-cannot-be-installed-as-library/m-p/27693#M19554</link>
      <description>&lt;P&gt;The issue was that the package was renamed after it was installed to the cluster and hence it was not recognized.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 13:52:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/python-wheel-cannot-be-installed-as-library/m-p/27693#M19554</guid>
      <dc:creator>vk217</dc:creator>
      <dc:date>2022-12-19T13:52:32Z</dc:date>
    </item>
  </channel>
</rss>

