amazon-web-services - 在笔记本启动时安装 jupyterlab 扩展
问题描述
每次我的笔记本关闭并重新启动时,我都会丢失插件并且必须从终端重新安装它们有没有办法将 jupyterlab 扩展设置为在启动我的 sagemaker 笔记本时自动安装?我要安装的插件是:
jupyter nbextension enable --py widgetsnbextension
jupyter labextension install @jupyter-widgets/jupyterlab-manager
任何见解将不胜感激
解决方案
Lifecycle Configuration 可用于在您的 Notebook 实例每次启动时安装扩展。
有用于安装 JupyterLab 扩展 [1] 以及可用于此目的的 NBExtension [2] 的示例生命周期配置脚本。
推荐阅读
- twitter-bootstrap - Bootstrap 3 到 Bootstrap 4 的转换
- gcc - 如何使用 Yocto Linux 的库依赖项交叉编译应用程序?
- gcc - 禁用所有 AVX512 扩展
- cypress - 期望 div 值等于循环
- java - 如何使用 JPA 实体构建和填充数据库?
- r - 如何使用 dplyr 管道执行逐步回归分析?
- excel - 使用 Microsoft.Office.Interop.Excel 另存为错误导出到 .pdf。但不保存excel文件
- python - 如何更改 ubuntu 中 pip 的默认软件包安装位置?
- excel - 从重复的代码行创建循环函数
- reactjs - 无法在android模拟器上运行反应本机应用程序