问题
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:
Upgrade
conda
packages from the command line:$ conda update --all
Restart jupyter-notebook session.
- Restart web browser.
- Open a new notebook.
- Done.
来源:https://stackoverflow.com/questions/49989241/jupyter-notebooks-rise-missing-slideshow-button