<?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: How to restart the kernel on my notebook in databricks? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-restart-the-kernel-on-my-notebook-in-databricks/m-p/3815#M726</link>
    <description>&lt;P&gt;dbutils.library.restartPython()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just run this code in the notebook without restarting the cluster or using pip install again. Restarting the cluster erased what you just installed with pip and you are back to square one. Restarting python after the pip installs will leave the packages installed and just restart the python interpreter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see this: &lt;A href="https://stackoverflow.com/a/75333780/22103209" alt="https://stackoverflow.com/a/75333780/22103209" target="_blank"&gt;https://stackoverflow.com/a/75333780/22103209&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jun 2023 15:59:14 GMT</pubDate>
    <dc:creator>Evan_MCK</dc:creator>
    <dc:date>2023-06-19T15:59:14Z</dc:date>
    <item>
      <title>How to restart the kernel on my notebook in databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-restart-the-kernel-on-my-notebook-in-databricks/m-p/3814#M725</link>
      <description>&lt;P&gt;while installing a python package on my databricks notebook, I kept getting a message saying that: "Note: you may need to restart the kernel using dbutils.library.restartPython() to use updated packages."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried restarting my cluster, also detach and reattach my cluster but the Note message still pops up on my notebook, after I ran my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone knows how to solve this issue?&lt;span class="lia-inline-image-display-wrapper" image-alt="error message"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/142i772195D083D5BA1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="error message" alt="error message" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 15:22:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-restart-the-kernel-on-my-notebook-in-databricks/m-p/3814#M725</guid>
      <dc:creator>Paddy_chu</dc:creator>
      <dc:date>2023-05-31T15:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart the kernel on my notebook in databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-restart-the-kernel-on-my-notebook-in-databricks/m-p/3815#M726</link>
      <description>&lt;P&gt;dbutils.library.restartPython()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just run this code in the notebook without restarting the cluster or using pip install again. Restarting the cluster erased what you just installed with pip and you are back to square one. Restarting python after the pip installs will leave the packages installed and just restart the python interpreter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see this: &lt;A href="https://stackoverflow.com/a/75333780/22103209" alt="https://stackoverflow.com/a/75333780/22103209" target="_blank"&gt;https://stackoverflow.com/a/75333780/22103209&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 15:59:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-restart-the-kernel-on-my-notebook-in-databricks/m-p/3815#M726</guid>
      <dc:creator>Evan_MCK</dc:creator>
      <dc:date>2023-06-19T15:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart the kernel on my notebook in databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-restart-the-kernel-on-my-notebook-in-databricks/m-p/91903#M38296</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/60100"&gt;@Evan_MCK&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Follow-up question:&lt;/P&gt;&lt;P&gt;When other notebooks run Python code on the same cluster, will those runs be aborted when&amp;nbsp;&lt;SPAN&gt;dbutils.library.restartPython() is called?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 15:02:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-restart-the-kernel-on-my-notebook-in-databricks/m-p/91903#M38296</guid>
      <dc:creator>johnb1</dc:creator>
      <dc:date>2024-09-26T15:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart the kernel on my notebook in databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-restart-the-kernel-on-my-notebook-in-databricks/m-p/92028#M38328</link>
      <description>&lt;P&gt;no, it's related only to current spark session&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 13:16:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-restart-the-kernel-on-my-notebook-in-databricks/m-p/92028#M38328</guid>
      <dc:creator>Imalkov</dc:creator>
      <dc:date>2024-09-27T13:16:05Z</dc:date>
    </item>
  </channel>
</rss>

