<?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: Unable to install kneed library in cluster with DBR version 5.5 LTS in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/unable-to-install-kneed-library-in-cluster-with-dbr-version-5-5/m-p/23935#M569</link>
    <description>&lt;P&gt;The kneed library has a dependency and we need to install them as well in order to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;numpy==1.18&lt;/P&gt;&lt;P&gt;scipy==1.1.0&lt;/P&gt;&lt;P&gt;scikit-learn==0.21.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once we install the above libraries using GUI, we can run the below command to check the installed library with the correct version:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%sh
/databricks/python3/bin/pip3 list&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the DBR 5.5 has both python version ie python2 and python3, hence we need to use the above command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use the specific versions only.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jun 2021 16:19:38 GMT</pubDate>
    <dc:creator>User16753724663</dc:creator>
    <dc:date>2021-06-16T16:19:38Z</dc:date>
    <item>
      <title>Unable to install kneed library in cluster with DBR version 5.5 LTS</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/unable-to-install-kneed-library-in-cluster-with-dbr-version-5-5/m-p/23934#M568</link>
      <description>&lt;P&gt;I have an issue to install and use kneed python libary.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://pypi.org/project/kneed/" target="test_blank"&gt;https://pypi.org/project/kneed/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can install it and check it from log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[Install command]&lt;/P&gt;
&lt;P&gt;%sh&lt;/P&gt;
&lt;P&gt;pip install kneed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[log]&lt;/P&gt;
&lt;P&gt;Installing collected packages: kneed&lt;/P&gt;
&lt;P&gt;Successfully installed kneed-0.7.0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but when I call this library it shows error:&lt;/P&gt;
&lt;P&gt;ModuleNotFoundError: No module named 'kneed'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got this error after changing cluster to "5.5 LTS ML (includes Apache Spark 2.4.3, Scala 2.11)"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 13:03:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/unable-to-install-kneed-library-in-cluster-with-dbr-version-5-5/m-p/23934#M568</guid>
      <dc:creator>User16753724663</dc:creator>
      <dc:date>2025-03-21T13:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to install kneed library in cluster with DBR version 5.5 LTS</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/unable-to-install-kneed-library-in-cluster-with-dbr-version-5-5/m-p/23935#M569</link>
      <description>&lt;P&gt;The kneed library has a dependency and we need to install them as well in order to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;numpy==1.18&lt;/P&gt;&lt;P&gt;scipy==1.1.0&lt;/P&gt;&lt;P&gt;scikit-learn==0.21.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once we install the above libraries using GUI, we can run the below command to check the installed library with the correct version:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%sh
/databricks/python3/bin/pip3 list&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the DBR 5.5 has both python version ie python2 and python3, hence we need to use the above command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use the specific versions only.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 16:19:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/unable-to-install-kneed-library-in-cluster-with-dbr-version-5-5/m-p/23935#M569</guid>
      <dc:creator>User16753724663</dc:creator>
      <dc:date>2021-06-16T16:19:38Z</dc:date>
    </item>
  </channel>
</rss>

