Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gmaps support in Jupyter Notebooks in Databricks #257

Open
lokijota opened this issue Jun 18, 2018 · 1 comment
Open

Gmaps support in Jupyter Notebooks in Databricks #257

lokijota opened this issue Jun 18, 2018 · 1 comment

Comments

@lokijota
Copy link

lokijota commented Jun 18, 2018

Hi,

I've tried using gmaps inside Databricks but the clusters stop running pythonn, resuming normal behaviour when I delete gmaps. Do you know if this can be made to work? the errors I get are:

/databricks/python/lib/python3.5/site-packages/IPython/config/loader.py:38: UserWarning: IPython.utils.traitlets has moved to a top-level traitlets package.
  from IPython.utils.traitlets import HasTraits, List, Any, TraitError
Traceback (most recent call last):
  File "/tmp/1529273180558-0/PythonShell.py", line 27, in <module>
    from IPython.nbconvert.filters.ansi import ansi2html
  File "/databricks/python/lib/python3.5/site-packages/IPython/nbconvert/__init__.py", line 3, in <module>
    from .exporters import *
  File "/databricks/python/lib/python3.5/site-packages/IPython/nbconvert/exporters/__init__.py", line 1, in <module>
    from .export import *
  File "/databricks/python/lib/python3.5/site-packages/IPython/nbconvert/exporters/export.py", line 23, in <module>
    from .templateexporter import TemplateExporter
  File "/databricks/python/lib/python3.5/site-packages/IPython/nbconvert/exporters/templateexporter.py", line 31, in <module>
    from IPython.nbconvert import filters
  File "/databricks/python/lib/python3.5/site-packages/IPython/nbconvert/filters/__init__.py", line 6, in <module>
    from .markdown import *
  File "/databricks/python/lib/python3.5/site-packages/IPython/nbconvert/filters/markdown.py", line 25, in <module>
    from IPython.nbconvert.utils.pandoc import pandoc
  File "/databricks/python/lib/python3.5/site-packages/IPython/nbconvert/utils/pandoc.py", line 24, in <module>
    from IPython.utils.process import is_cmd_found, FindCmdError
ImportError: cannot import name 'is_cmd_found'
/databricks/python/lib/python3.5/site-packages/IPython/config/loader.py:38: UserWarning: IPython.utils.traitlets has moved to a top-level traitlets package.
  from IPython.utils.traitlets import HasTraits, List, Any, TraitError
Traceback (most recent call last):
  File "/tmp/1529273180558-0/PythonShell.py", line 27, in <module>
    from IPython.nbconvert.filters.ansi import ansi2html
  File "/databricks/python/lib/python3.5/site-packages/IPython/nbconvert/__init__.py", line 3, in <module>
    from .exporters import *
  File "/databricks/python/lib/python3.5/site-packages/IPython/nbconvert/exporters/__init__.py", line 1, in <module>
    from .export import *
  File "/databricks/python/lib/python3.5/site-packages/IPython/nbconvert/exporters/export.py", line 23, in <module>
    from .templateexporter import TemplateExporter
  File "/databricks/python/lib/python3.5/site-packages/IPython/nbconvert/exporters/templateexporter.py", line 31, in <module>
    from IPython.nbconvert import filters
  File "/databricks/python/lib/python3.5/site-packages/IPython/nbconvert/filters/__init__.py", line 6, in <module>
    from .markdown import *
  File "/databricks/python/lib/python3.5/site-packages/IPython/nbconvert/filters/markdown.py", line 25, in <module>
    from IPython.nbconvert.utils.pandoc import pandoc
  File "/databricks/python/lib/python3.5/site-packages/IPython/nbconvert/utils/pandoc.py", line 24, in <module>
    from IPython.utils.process import is_cmd_found, FindCmdError
ImportError: cannot import name 'is_cmd_found'
@pbugnion
Copy link
Owner

Thanks for raising this. Answers to the following would be helpful so I can get a better picture.

  1. You seem to be getting a lot of errors related to nbconvert. Any thoughts on why that would be?
    Were you running nbconvert?

  2. What version of the notebook does Databricks run? Posting a screenshot of Help > About in the Jupyter menu would be useful.

  3. Does ipywidgets work? If you run import ipywidgets as widgets; widgets.IntSlider(), what do you see? (you may need to pip install ipywidgets).

  4. How did you install gmaps? With pip or from conda-forge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants