Jupyter Notebook的RISE缺少幻灯片按钮 [英] Jupyter Notebook's RISE Missing Slideshow Button

查看:418
本文介绍了Jupyter Notebook的RISE缺少幻灯片按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在安装说明. com/damianavila/RISE"rel =" nofollow noreferrer> RISE 用于带有Anaconda(conda)的Jupyter笔记本,但是输入/退出RISE幻灯片" 按钮从未显示在工具栏中.

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.

我遵循了在两个已解决的RISE问题中解决问题的建议(#137 #275 ),但没有运气.我将Jupyter更新到最新版本,启动了一个新的笔记本,硬刷新了浏览器页面,重新安装了Rise,但仍然没有按钮.

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.

我还看到了 SO问题,与我的案例不同因为我从未见过该按钮,因此我没有nbextensions.尽管如此,他们的建议仍未奏效.

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.

出于实际原因,我不能只为RISE和演示文稿创建单独的环境.

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

我在具有不同操作系统和不同Conda软件包的两台计算机上遇到相同的问题,因此这可能是一个RISE软件包问题.在其中一台机器上,我有:

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位)
  • 使用python 3.6.4的conda 4.5.1
  • jupyter 1.0.0
  • jupyter_core 4.3.0
  • 笔记本5.0.0
  • 上升5.2.0 py36_0 damianavila82
  • MacOS High Sierra(10.13.4)

我的conda软件包看起来状态良好,也没有缺少依赖项.

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

推荐答案

这是程序包兼容性问题.我通过执行以下操作解决了这个问题:

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

  1. 从命令行升级conda软件包:

$ conda update --all

  • 重新启动jupyter-notebook会话.

  • Restart jupyter-notebook session.

    这篇关于Jupyter Notebook的RISE缺少幻灯片按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆