gpt4 book ai didi

python - Jupyter 笔记本 : How to get rid of buttons at bottom (Present, 幻灯片、主题、帮助)

转载 作者:太空宇宙 更新时间:2023-11-03 14:45:49 27 4
gpt4 key购买 nike

我是第一次在 Amazon AWS 上使用 Jupyter Notebook 5.2.2。当我在浏览器 (Mac OS Safari 11.0) 中运行 Notebook 时,我会在 Notebook 底部看到按钮。这些按钮用于演示、幻灯片、主题和帮助。我以前一直在使用 Notebook 4.x,之前从未见过它们。如何摆脱这些按钮?

enter image description here

这是我的 Jupyter Notebook“关于”信息:

enter image description here

最佳答案

我能够通过在运行 jupyter notebook 的 conda 环境中执行以下命令来禁用这些按钮:

jupyter-nbextension 禁用 nbpresent --py --sys-prefix

(参见 https://docs.anaconda.com/anaconda/user-guide/tasks/use-jupyter-notebook-extensions#uninstalling-the-extensions)

我认为您可以在 conda 环境之外运行 jupyter-nbextension 命令,但效果相同。您可能没有使用 conda,因为您没有提到它,但您使用的 AWS 机器可能默认安装了扩展。我不确定这一点。

对我来说,conda 的笔记本扩展是在我执行 conda install nb_conda 之后安装的,以便在我的笔记本中访问 c​​onda 环境。

(参见 In which conda environment is Jupyter executing?)

希望这对您有所帮助。

关于python - Jupyter 笔记本 : How to get rid of buttons at bottom (Present, 幻灯片、主题、帮助),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49543860/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com