reactjs - JupyterLab nvdashboard 无法在 Jupyter >= 3.0 中安装,反应 >= 17.0.0
问题描述
我想使用jupyterlab-nvdashboard从 JupyterLab 监控 GPU 性能。虽然 github 中没有提到它,但我发现 conda-forge 频道中也提供了该扩展,我从那里安装了它。
conda install -c conda-forge jupyterlab-nvdashboard
安装没有错误,最后一个环境列表条目显示 jupyterlab-nvdashboard-0.6.0 与依赖项 pynvml-11.0.0 一起安装:
2021-10-21 12:15:21 (rev 8)
+jupyterlab-nvdashboard-0.6.0 (conda-forge/noarch)
+pynvml-11.0.0 (conda-forge/noarch)
我正在运行最新版本的 jupyter-lab >= 3.0
$ jupyter --version
Selected Jupyter core packages...
IPython : 7.28.0
ipykernel : 6.4.1
ipywidgets : not installed
jupyter_client : 7.0.6
jupyter_core : 4.8.1
jupyter_server : 1.11.1
jupyterlab : 3.1.18
这是我在尝试安装 labextension 时遇到的错误。
$ jupyter labextension install jupyterlab-nvdashboard
An error occurred.
ValueError: The extension "jupyterlab-nvdashboard" does not yet support the current version of JupyterLab.
Conflicting Dependencies:
JupyterLab Extension Package
>=3.1.17 <3.2.0 >=2.0.0 <3.0.0 @jupyterlab/application
>=3.1.17 <3.2.0 >=2.0.0 <3.0.0 @jupyterlab/apputils
>=5.1.17 <5.2.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
这是服务器扩展列表命令的输出:
$ jupyter server extension list
Config dir: /home/<username>/.jupyter
Config dir: /home/<username>/anaconda3/envs/test/etc/jupyter
dask_labextension enabled
- Validating dask_labextension...
dask_labextension 5.1.0 OK
jupyter_server_proxy enabled
- Validating jupyter_server_proxy...
jupyter_server_proxy OK
jupyterlab enabled
- Validating jupyterlab...
jupyterlab 3.1.18 OK
jupyterlab_nvdashboard enabled
- Validating jupyterlab_nvdashboard...
X validation failed
解决方案
推荐阅读
- python - 无法超越“在点 (864,632) 处不可点击,因为另一个元素
多次尝试后掩盖它
- git - Azure DevOps TFVC 到 Git 迁移
- android - 提高 Android 上的 TensorFlow Lite 速度
- angular - Angular 8 karma 测试服务而不在构造函数中注入所有服务
- javascript - 如何在柏树中单击图像形式的无线电输入。鼠标悬停在图像上时变为手工具
- java - Google BigQuery - 将数据流式传输到 BigQuery
- ansible - Ansible - 如何设置运行的默认值(VERBOSE Level 或 VERBOSITY),即使用一些配置设置 ansible.cfg 等在命令行传递 -v
- css - 使两个按钮的宽度与最长的按钮相同
- html - CSS:背景CSS样式顶部的径向渐变层
- c# - 如何在单元测试中使用内存中的 Sqlite 忽略嵌套事务?