如何让选项卡出现在我的 JupyterLab Notebook 中?
How to make the tabs appear in my JupyterLab Notebook?
我一直在 youtube 上观看 Pytorch 教程,在那里我看到 JupyterLab 允许用户在左侧面板上显示存在于 Notebook 降价单元格中的标题的轮廓(见下图):
但是我在使用 JupyterLab 时看到的屏幕如下所示:
我怎样才能像第一张图片那样在我的笔记本中显示标题?
====================================
我最初尝试 运行: jupyter labextension install @jupyterlab/toc
失败,因为没有安装 nodejs。当我通过 conda 安装 nodejs 并再次 运行 labextension install @jupyterlab/toc
我再次遇到错误。通过查看日志文件发现不支持conda安装的最新版本的nodejs。
C:\Users\Alienware\Anaconda3\envs\tf2\npm.CMD pack @jupyterlab/toc npm WARN npm npm does not support Node.js v13.0.0 npm WARN npm You
should probably upgrade to a newer version of node as we npm WARN npm
can't make any promises that npm will work with this version. npm WARN
npm Supported releases of Node.js are the latest release of 6, 8, 9,
10, 11, 12. npm WARN npm You can find the latest version at
https://nodejs.org/ npm WARN npm npm does not support Node.js v13.0.0
处理这个问题的最佳方法是什么?
看起来像它的 jupyterlab-toc
扩展名
安装
jupyter labextension install @jupyterlab/toc
如果您在使用 conda
安装过程中遇到错误:
conda install -c anaconda nodejs
npm WARN npm npm does not support Node.js v13.0.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11, 12.
npm WARN npm You can find the latest version at https://nodejs.org/
github 上存在问题:npm does not support Node.js v13.0.0
最好的做法之一就是等待并忽略警告:
其中一位开发者评论:
The workaround is to ignore the warning. It is not an error and you
can still use npm until we release a fix.
您还可以找到它已在 v13.0.1 中修复的信息
所以你只需要等到 anaconda nodejs 更新。
您现在应该可以安装扩展程序了。
我一直在 youtube 上观看 Pytorch 教程,在那里我看到 JupyterLab 允许用户在左侧面板上显示存在于 Notebook 降价单元格中的标题的轮廓(见下图):
但是我在使用 JupyterLab 时看到的屏幕如下所示:
我怎样才能像第一张图片那样在我的笔记本中显示标题?
====================================
我最初尝试 运行: jupyter labextension install @jupyterlab/toc
失败,因为没有安装 nodejs。当我通过 conda 安装 nodejs 并再次 运行 labextension install @jupyterlab/toc
我再次遇到错误。通过查看日志文件发现不支持conda安装的最新版本的nodejs。
C:\Users\Alienware\Anaconda3\envs\tf2\npm.CMD pack @jupyterlab/toc npm WARN npm npm does not support Node.js v13.0.0 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11, 12. npm WARN npm You can find the latest version at https://nodejs.org/ npm WARN npm npm does not support Node.js v13.0.0
处理这个问题的最佳方法是什么?
看起来像它的 jupyterlab-toc
扩展名
安装
jupyter labextension install @jupyterlab/toc
如果您在使用 conda
安装过程中遇到错误:
conda install -c anaconda nodejs
npm WARN npm npm does not support Node.js v13.0.0 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11, 12. npm WARN npm You can find the latest version at https://nodejs.org/
github 上存在问题:npm does not support Node.js v13.0.0
最好的做法之一就是等待并忽略警告:
其中一位开发者评论:
The workaround is to ignore the warning. It is not an error and you can still use npm until we release a fix.
您还可以找到它已在 v13.0.1 中修复的信息 所以你只需要等到 anaconda nodejs 更新。
您现在应该可以安装扩展程序了。