【问题标题】:How to match the versions of jupyterlab-nvdashboard and JupyterLab [duplicate]如何匹配 jupyterlab-nvdashboard 和 JupyterLab 的版本 [重复]
【发布时间】:2025-12-09 23:30:01
【问题描述】:

我正在尝试使用 gpu 监控工具 clara-train-example。运行时出现错误 startClaraTrainNoteBooks.sh

ValueError: The extension "jupyterlab-nvdashboard" does not yet support the current version of JupyterLab.


Conflicting Dependencies:
JupyterLab              Extension        Package
>=3.0.6 <3.1.0          >=2.0.0 <3.0.0   @jupyterlab/application
>=3.0.5 <3.1.0          >=2.0.0 <3.0.0   @jupyterlab/apputils
>=5.0.3 <5.1.0          >=4.0.0 <5.0.0   @jupyterlab/coreutils
>=17.0.1 <18.0.0        >=16.4.2 <17.0.0 react
>=17.0.1 <18.0.0        >=16.9.0 <17.0.0 react-dom
See the log file for details:  /tmp/jupyterlab-debug-53dt6_x5.log

我不明白日志的内容。 非常感谢您的帮助。

【问题讨论】:

标签: python jupyter-lab


【解决方案1】:

正如@krassowski 所提到的,在 clara-train-examples/PyTorch/NoteBooks/scripts/dockerWGPUDashboardPlugin/Dockerfile 中的相应 DockerFile 中注释掉 RUN jupyter labextension install jupyterlab-nvdashboard 后,在 docker-compose.yml 文件中启用 GPUDashboard 后解决了该问题,即:

##### to build image with GPU dashboard inside jupyter lab
build:
  context: ./dockerWGPUDashboardPlugin/    # Project root
  dockerfile: ./Dockerfile                 # Relative to context
image: clara-train-nvdashboard:v4.0

【讨论】:

    最近更新 更多