Jupyter Notebook's RISE Missing Slideshow Button

前提是你 提交于 2020-06-28 07:52:14

问题


I followed the instructions on installing RISE for Jupyter notebook with Anaconda (conda) but the "Enter/Exit RISE Slideshow" button never showed in the toolbar.

I followed the recommendations on solving the problem in the two closed RISE issues (#137, #275), but with no luck. I updated Jupyter to the latest version, started a new notebook, hard refreshed the browser page, reinstalled Rise and still no button.

I also saw this SO question, which is different from my case since I never saw the button, and I do not have nbextensions to begin with. Still, their recommendation did not work.

For practical reasons, I cannot have a separate environment just for RISE and presentation making.

I'm having the same problem on two machines, with different operating systems and different Conda packages, so it may be a RISE package problem. On one of the machines, I have:

  • Google Chrome 66.0.3359.117 (64-bit)
  • conda 4.5.1 with python 3.6.4
  • jupyter 1.0.0
  • jupyter_core 4.3.0
  • notebook 5.0.0
  • rise 5.2.0 py36_0 damianavila82
  • MacOS High Sierra (10.13.4)

My conda packages seem to be in good shape and without missing dependencies too.

$ jupyter nbextension list
Known nbextensions:
  config dir: /Users/welshamy/Applications/anaconda3/etc/jupyter/nbconfig
    notebook section
      jupyter-js-widgets/extension  enabled 
      - Validating: OK
      rise/main  enabled 
      - Validating: OK

回答1:


This is a package compatibility issue. I solved the problem by doing the following:

  1. Upgrade conda packages from the command line:

    $ conda update --all
    
  2. Restart jupyter-notebook session.

  3. Restart web browser.
  4. Open a new notebook.
  5. Done.


来源:https://stackoverflow.com/questions/49989241/jupyter-notebooks-rise-missing-slideshow-button

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!