首页 > 解决方案 > 无法打开“编辑键盘快捷键”

问题描述

我定制了 Jupyter notebook 的键盘快捷键并使用了很长时间。重新安装 anaconda 后,我尝试像以前一样在 jupyter notebook 中编辑命令模式快捷方式。但是选择Edit keyboard Shortcuts永远行不通。:(

它只显示如下链接的空屏幕。

( https://ifh.cc/g/NuaQE.png )

这可能有助于解决问题。当我键入 F12 时,以下消息是控制台中的警告。我认为问题与这些警告有关,但很难知道如何解决。

Uncaught ReferenceError: ReactDOM is not defined
at new ShortcutEditor (shortcuteditor.js:217)
at Notebook.show_shortcuts_editor (notebook.js:472)
at handler (actions.js:79)
at Object.final_actions.<computed>.handler (actions.js:890)
at ActionHandler.call (actions.js:992)
at HTMLDivElement.<anonymous> (quickhelp.js:290)
at HTMLDivElement.dispatch (jquery.min.js:2)
at HTMLDivElement.y.handle (jquery.min.js:2)
at Object.trigger (jquery.min.js:2)
at HTMLDivElement.<anonymous> (jquery.min.js:2)

我只想查看如下页面,以便我可以编辑快捷方式

https://i.stack.imgur.com/XwPD5.png

标签: jupyter-notebookkeyboard-shortcuts

解决方案


我遇到了同样的问题(Windows 10、Firefox 69、jupyter-notebook 6.0.0)。更新 jupyter 解决了我的问题:

conda update jupyter

推荐阅读