Python Plotly extensions随jupyter lab 0.34版一起安装

Python Plotly extensions随jupyter lab 0.34版一起安装,python,jupyter-notebook,plotly,jupyter-lab,Python,Jupyter Notebook,Plotly,Jupyter Lab,在我的公司环境中,我仅限于使用jupyter实验室版本0.34和ipywidgets版本7.4 我正在尝试安装plotly jupyter lab extensions,以便在使用jupyter lab时呈现plotly express绘图。为此,我遵循了此处描述的步骤。但是,它们似乎不能很好地处理我的两个依赖项版本 正确安装jupyter lab 0.34扩展的步骤是什么 请参阅下面的设置 C:\Progra~1\Anaconda3_4) C:\Users\***>conda list

在我的公司环境中,我仅限于使用jupyter实验室版本0.34和ipywidgets版本7.4

我正在尝试安装plotly jupyter lab extensions,以便在使用jupyter lab时呈现plotly express绘图。为此,我遵循了此处描述的步骤。但是,它们似乎不能很好地处理我的两个依赖项版本

正确安装jupyter lab 0.34扩展的步骤是什么

请参阅下面的设置

 C:\Progra~1\Anaconda3_4) C:\Users\***>conda list jupyterlab
# packages in environment at C:\Progra~1\Anaconda3_4:
#
jupyterlab                0.34.12                  py36_0    defaults


(C:\Progra~1\Anaconda3_4) C:\Users\***>conda list plotly
# packages in environment at C:\Progra~1\Anaconda3_4:
#

plotly                    4.1.0                      py_0    plotly
plotly_express            0.4.1                      py_0    plotly

(C:\Progra~1\Anaconda3_4) C:\Users\***>conda list ipywidgets
# packages in environment at C:\Progra~1\Anaconda3_4:
#

ipywidgets                7.4.2                    py36_0    defaults

(C:\Progra~1\Anaconda3_4) C:\Users\***>jupyter labextension list
JupyterLab v0.34.12
Known labextensions:

   app dir: C:\Progra~1\Anaconda3_4\share\jupyter\lab
    @jupyter-widgets/jupyterlab-manager v0.37.4 enabled  ok
    jupyterlab-chart-editor v1.2.0 enabled  ok
    jupyterlab-plotly v1.1.0 enabled  ok
    plotlywidget v1.1.0 enabled  ok


Build recommended, please run `jupyter lab build`:

    @jupyter-widgets/jupyterlab-manager needs to be included in build
    plotlywidget needs to be included in build    
    jupyterlab-chart-editor needs to be included in build    
    jupyterlab-plotly needs to be included in build
生成时请参阅错误消息

(C:\Progra~1\Anaconda3_4) C:\Users\***>jupyter lab build

[LabBuildApp] JupyterLab 0.34.12    
[LabBuildApp] Building in C:\Progra~1\Anaconda3_4\share\jupyter\lab    
[LabBuildApp] > node C:\Progra~1\Anaconda3_4\lib\site-packages\jupyterlab\staging\yarn.js install    
yarn install v1.9.4    
info No lockfile found.

[1/4] Resolving packages...

warning @jupyterlab/application > @jupyterlab/coreutils > comment-json > json-parser@1.1.5: `json-parser` is deprecated. Please use `comment-json` instead

warning @jupyterlab/application > @jupyterlab/apputils > react > fbjs > core-js@1.2.7: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.

warning @jupyterlab/faq-extension@0.18.4: The JupyterLab FAQ extension is no longer developed and is removed from JupyterLab 1.0.

error Received malformed response from registry for undefined. The registry may be down.

info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

[LabBuildApp] > node C:\Progra~1\Anaconda3_4\lib\site-packages\jupyterlab\staging\yarn.js run build

yarn run v1.9.4

$ webpack

'webpack' is not recognized as an internal or external command,

operable program or batch file.

error Command failed with exit code 1.

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.    
(C:\Progra~1\Anaconda3\u 4)C:\Users\***>jupyter实验室构建
[LabBuildApp]JupyterLab 0.34.12
[LabBuildApp]正在C:\Progra~1\Anaconda3\u 4\share\jupyter\lab中构建
[LabBuildApp]>节点C:\Progra~1\Anaconda3\u 4\lib\site packages\jupyterlab\staging\warn.js安装
纱线安装v1.9.4
信息找不到锁文件。
[1/4]正在解析包。。。
警告@jupyterlab/application>@jupyterlab/coreutils>注释json>json-parser@1.1.5:`json解析器`已弃用。请改用“comment json”
警告@jupyterlab/application>@jupyterlab/apputils>react>fbjs>core-js@1.2.7:core js@node C:\Progra~1\Anaconda3\u 4\lib\site packages\jupyterlab\staging\warn.js运行构建
纱线运行v1.9.4
$webpack
“webpack”未被识别为内部或外部命令,
可操作的程序或批处理文件。
错误命令失败,退出代码为1。
信息访问https://yarnpkg.com/en/docs/cli/run 有关此命令的文档。