jupyter-incubator / sparkmagic

Jupyter magics and kernels for working with remote Spark clusters
Other
1.33k stars 447 forks source link

%manage_spark won't render correctly #382

Open lsxliron opened 7 years ago

lsxliron commented 7 years ago

Hello,

I followed the documentation and installed sparkmagic. However, the widget that is displayed after executing %manage_spark is rendered incorrectly, even after enabling extensions using jupyter nbextension enable --py --sys-prefix widgetsnbextension

screenshot

I am using JupyterHub but I also tried to do the same with a local Jupyter Notebook (version 4.4.1).

jupiter nbextension list gives the following output:

Known nbextensions:
  config dir: /Users/lsxliron/.jupyter/nbconfig
    notebook section
      jupyter-js-widgets/extension  enabled
      - Validating: OK
  config dir: /Users/lsxliron/anaconda3/envs/jhub/etc/jupyter/nbconfig
    notebook section
      jupyter-js-widgets/extension  enabled
      - Validating: OK

Both ipywidgets v. 7.0.0a9 and v. 6.0.0 does not solve the problem.

Thanks for your help.

aggFTW commented 7 years ago

I believe this is a duplicate of #358. Please install ipywidgets 5.2.3 in the meantime.

I believe @pranayhasan will send a PR soon. @pranayhasan, can you please confirm?

lsxliron commented 7 years ago

@aggFTW Installing ipywidgets 5.2.3 did solve the problem. Thanks for the help.

pranayhasan commented 7 years ago

@aggFTW I'm waiting for ipywidgets to release version 7.0.0 as there are problems with automatic sql visualizations with 6.0.0 and existing version of notebook 4.* ipywidgets 7.0 and notebook 5.0 work well together.

aggFTW commented 7 years ago

What are the problems with 6.0.0 and notebook 4.x?