如何匹配jupyterlabnvdashboard和JupyterLab的版本

2024-09-29 22:19:22 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试使用gpu监控工具。我在运行时收到错误 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

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


Tags: 工具theloggpush错误extensionreact
1条回答
网友
1楼 · 发布于 2024-09-29 22:19:22

如@krassowski所述,在clara train examples/PyTorch/Notebook/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

相关问题 更多 >

    热门问题