[英]jupiterlab how to install @pyviz/jupyterlab_pyviz
I am trying to run panel in jupiter lab, However the graphs are not interactive.我正在尝试在 jupiter lab 中运行面板,但是图表不是交互式的。
I found that i need to ` install this package , however i am unable to install it, i have tried:我发现我需要`安装这个 package ,但是我无法安装它,我试过了:
npm i @pyviz/jupyterlab_pyviz
out:
File "<ipython-input-21-385fb6412a4c>", line 1
npm i @pyviz/jupyterlab_pyviz
^
SyntaxError: invalid syntax
This one:这个:
# as found https://panel.holoviz.org/getting_started/index.html
conda install -c conda-forge jupyterlab
jupyter labextension install @pyviz/jupyterlab_pyviz
Out:
File "<ipython-input-22-e086b2168729>", line 1
conda install -c conda-forge jupyterlab
^
SyntaxError: invalid syntax
and finally:最后:
conda install -c conda-forge jupyterlab_pyviz
OUT:
PackagesNotFoundError: The following packages are not available from current channels:
- jupyterlab_pyviz
Current channels:
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
Just released pyviz_comms 2.0 which automatically bundles the JupyterLab extension.刚刚发布了 pyviz_comms 2.0,它自动捆绑了 JupyterLab 扩展。 Simply upgrade with pip install pyviz_comms --upgrade or conda install -c pyviz pyviz_comms.只需使用 pip install pyviz_comms --upgrade 或 conda install -c pyviz pyviz_comms 进行升级。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.