<?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 `moduleNotFoundError` when attempting to enable a jupyter notebook extension in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/modulenotfounderror-when-attempting-to-enable-a-jupyter-notebook/m-p/6105#M2348</link>
    <description>&lt;P&gt;I am running a set of commands and to run `pydeck` on jupyter notebook as per the documentation here: &lt;A href="https://pydeck.gl/installation.html#enabling-pydeck-for-jupyter" alt="https://pydeck.gl/installation.html#enabling-pydeck-for-jupyter" target="_blank"&gt;https://pydeck.gl/installation.html#enabling-pydeck-for-jupyter&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, it throws an `moduleNotFoundError` exception. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;!pip install pydeck
!jupyter nbextension install --sys-prefix --symlink --overwrite --py pydeck
!jupyter nbextension enable --sys-prefix --py pydeck
&amp;nbsp;
File "/databricks/python3/lib/python3.9/site-packages/jupyter_core/application.py", line 269, in launch_instance
    return super().launch_instance(argv=argv, **kwargs)
  File "/databricks/python3/lib/python3.9/site-packages/traitlets/config/application.py", line 846, in launch_instance
    app.start()
  File "/databricks/python3/lib/python3.9/site-packages/notebook/nbextensions.py", line 980, in start
    super().start()
  File "/databricks/python3/lib/python3.9/site-packages/jupyter_core/application.py", line 258, in start
    self.subapp.start()
  File "/databricks/python3/lib/python3.9/site-packages/notebook/nbextensions.py", line 708, in start
    self.install_extensions()
  File "/databricks/python3/lib/python3.9/site-packages/notebook/nbextensions.py", line 679, in install_extensions
    full_dests = install(self.extra_args[0],
  File "/databricks/python3/lib/python3.9/site-packages/notebook/nbextensions.py", line 203, in install_nbextension_python
    m, nbexts = _get_nbextension_metadata(module)
  File "/databricks/python3/lib/python3.9/site-packages/notebook/nbextensions.py", line 1114, in _get_nbextension_metadata
    m = import_item(module)
  File "/databricks/python3/lib/python3.9/site-packages/traitlets/utils/importstring.py", line 38, in import_item
    return __import__(parts[0])
ModuleNotFoundError: No module named 'pydeck'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A related question, what is the difference when I install libraries using `pip` from jupyter notebook vs the databricks GUI ?&lt;/P&gt;</description>
    <pubDate>Mon, 10 Apr 2023 20:35:03 GMT</pubDate>
    <dc:creator>kll</dc:creator>
    <dc:date>2023-04-10T20:35:03Z</dc:date>
    <item>
      <title>`moduleNotFoundError` when attempting to enable a jupyter notebook extension</title>
      <link>https://community.databricks.com/t5/data-engineering/modulenotfounderror-when-attempting-to-enable-a-jupyter-notebook/m-p/6105#M2348</link>
      <description>&lt;P&gt;I am running a set of commands and to run `pydeck` on jupyter notebook as per the documentation here: &lt;A href="https://pydeck.gl/installation.html#enabling-pydeck-for-jupyter" alt="https://pydeck.gl/installation.html#enabling-pydeck-for-jupyter" target="_blank"&gt;https://pydeck.gl/installation.html#enabling-pydeck-for-jupyter&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, it throws an `moduleNotFoundError` exception. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;!pip install pydeck
!jupyter nbextension install --sys-prefix --symlink --overwrite --py pydeck
!jupyter nbextension enable --sys-prefix --py pydeck
&amp;nbsp;
File "/databricks/python3/lib/python3.9/site-packages/jupyter_core/application.py", line 269, in launch_instance
    return super().launch_instance(argv=argv, **kwargs)
  File "/databricks/python3/lib/python3.9/site-packages/traitlets/config/application.py", line 846, in launch_instance
    app.start()
  File "/databricks/python3/lib/python3.9/site-packages/notebook/nbextensions.py", line 980, in start
    super().start()
  File "/databricks/python3/lib/python3.9/site-packages/jupyter_core/application.py", line 258, in start
    self.subapp.start()
  File "/databricks/python3/lib/python3.9/site-packages/notebook/nbextensions.py", line 708, in start
    self.install_extensions()
  File "/databricks/python3/lib/python3.9/site-packages/notebook/nbextensions.py", line 679, in install_extensions
    full_dests = install(self.extra_args[0],
  File "/databricks/python3/lib/python3.9/site-packages/notebook/nbextensions.py", line 203, in install_nbextension_python
    m, nbexts = _get_nbextension_metadata(module)
  File "/databricks/python3/lib/python3.9/site-packages/notebook/nbextensions.py", line 1114, in _get_nbextension_metadata
    m = import_item(module)
  File "/databricks/python3/lib/python3.9/site-packages/traitlets/utils/importstring.py", line 38, in import_item
    return __import__(parts[0])
ModuleNotFoundError: No module named 'pydeck'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A related question, what is the difference when I install libraries using `pip` from jupyter notebook vs the databricks GUI ?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 20:35:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/modulenotfounderror-when-attempting-to-enable-a-jupyter-notebook/m-p/6105#M2348</guid>
      <dc:creator>kll</dc:creator>
      <dc:date>2023-04-10T20:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: `moduleNotFoundError` when attempting to enable a jupyter notebook extension</title>
      <link>https://community.databricks.com/t5/data-engineering/modulenotfounderror-when-attempting-to-enable-a-jupyter-notebook/m-p/6107#M2350</link>
      <description>&lt;P&gt;Hi @Keval Shah​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting your question in our community! We are happy to assist you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 13:49:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/modulenotfounderror-when-attempting-to-enable-a-jupyter-notebook/m-p/6107#M2350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-11T13:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: `moduleNotFoundError` when attempting to enable a jupyter notebook extension</title>
      <link>https://community.databricks.com/t5/data-engineering/modulenotfounderror-when-attempting-to-enable-a-jupyter-notebook/m-p/6106#M2349</link>
      <description>&lt;P&gt;Hi Could you please check if the dependencies are already installed?&lt;/P&gt;&lt;P&gt;&lt;A href="https://deckgl.readthedocs.io/en/latest/installation.html" alt="https://deckgl.readthedocs.io/en/latest/installation.html" target="_blank"&gt;https://deckgl.readthedocs.io/en/latest/installation.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please let us know if this helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, please tag&amp;nbsp;&lt;A href="https://community.databricks.com/s/profile/0053f000000WWwvAAG" alt="https://community.databricks.com/s/profile/0053f000000WWwvAAG" target="_blank"&gt;@Debayan&lt;/A&gt;​&amp;nbsp;with your next response so that I will be notified. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 06:09:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/modulenotfounderror-when-attempting-to-enable-a-jupyter-notebook/m-p/6106#M2349</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2023-04-11T06:09:24Z</dc:date>
    </item>
  </channel>
</rss>

