我试图运行在木星实验室的面板,但图形是不互动的。
我发现我需要‘安装这个软件包’,但是我无法安装它,我尝试过:
npm i @pyviz/jupyterlab_pyviz
out:
File "<ipython-input-21-385fb6412a4c>", line 1
npm i @pyviz/jupyterlab_pyviz
^
SyntaxError: invalid syntax这个:
# 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最后:
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.发布于 2021-12-27 15:17:12
刚刚发布了pyviz_comms 2.0,它自动捆绑JupyterLab扩展。只需使用pip安装pyviz_comms升级--升级或conda安装-c pyviz pyviz_comms。
https://stackoverflow.com/questions/65078924
复制相似问题