Plotly扩展安装与jupyter lab 0.34版本

2024-05-18 17:51:29 发布

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

在我的公司环境中使用JUIDT4.0版和JUIDT4.0版。在

我正在尝试安装plotly jupyter lab扩展,以便在使用jupyter lab时呈现plotly express绘图。为此,我遵循了此处描述的步骤https://plot.ly/python/getting-started/。然而,它们似乎不能很好地与我的版本的两个依赖项一起工作。在

正确安装jupyter lab0.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

生成时查看错误消息

^{pr2}$

Tags: toinbuildlabenabledjupyterokbe

热门问题