You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

JupyterLab>=3.0、react>=17.0环境下安装jupyterlab-nvdashboard失败

jupyterlab-nvdashboard安装异常解决方法

核心原因

你当前安装的jupyterlab-nvdashboard 0.6.0版本仅适配JupyterLab 2.x系列,和你本地的JupyterLab 3.1.18版本存在前端依赖冲突,因此出现扩展验证失败、无法安装的问题。

解决方法

方法一:升级jupyterlab-nvdashboard到适配JupyterLab 3.x的版本(推荐)

  • 先卸载现有旧版本:
conda remove jupyterlab-nvdashboard
  • 安装0.7及以上版本的扩展,conda-forge渠道已经提供对应适配包:
conda install -c conda-forge jupyterlab-nvdashboard>=0.7.0
  • JupyterLab 3.x支持预构建扩展,安装完成后不需要手动执行jupyter labextension install命令,直接重启JupyterLab即可生效
  • 验证是否安装成功:执行jupyter server extension list,若显示jupyterlab_nvdashboard后标注OK即为安装正常,打开JupyterLab左侧边栏即可看到GPU监控入口

方法二:降级JupyterLab到2.x版本(仅适用于必须使用0.6.0版本扩展的场景)

  • 执行降级命令:
conda install jupyterlab=2.3.2
  • 降级完成后重新执行jupyter labextension install jupyterlab-nvdashboard即可正常安装
  • 重启JupyterLab后即可使用扩展功能

内容的提问来源于stack exchange,提问作者Omar Valerio

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.09.29 05:54:06