pyviz_comms icon indicating copy to clipboard operation
pyviz_comms copied to clipboard

Install fails with Jupyterlab 3.0.7

Open MaxUdk opened this issue 4 years ago • 8 comments

Hey there, nice work sofa. Unfortunately install fails with Jupyterlab 3.0.7 on Mac (Big Sur).

ValueError: The extension "@pyviz/jupyterlab_pyviz" does not yet support the current version of JupyterLab.

Conflicting Dependencies: JupyterLab Extension Package

=3.0.4 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/application =3.0.3 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/apputils =3.0.4 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/notebook =3.0.3 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/rendermime-interfaces =6.0.3 <6.1.0 >=5.0.0 <6.0.0 @jupyterlab/services See the log file for details: /var/folders/k4/9l0_d86n3qn8wp609m1c6tmc0000gn/T/jupyterlab-debug-wlhnr7lj.log

Regards

MaxUdk avatar Feb 11 '21 08:02 MaxUdk

You no longer have to install the extension explicitly, it is automatically installed when you install the Python package. We've also updated documentation about everywhere (but in some cases the docs have not yet been rebuilt).

philippjfr avatar Feb 11 '21 18:02 philippjfr

I guess, we could actually upload the updated extension to NPM so this at least doesn't error.

philippjfr avatar Feb 11 '21 18:02 philippjfr

It doesn't seem to work with Jupyter 3.0.9 without the extension... I installed with the following command

conda update -c pyviz holoviews bokeh

Then it works with matplotlib image

but not with Bokeh (nothing renders...) image

by th way, Bokeh, by itself, works: image

Here are the installed extensions : image

Did I miss something?

===============EDIT========================= Don't know exactly what changed (Probably a mixed between channels (default and conda-forge) when updating some packages?) but now it works... Sorry for the inconvenience!

ae3e avatar Mar 10 '21 09:03 ae3e

Dear maintainers, in the referenced issue on plotly, installing pyviz_comms breaks plotly. Looking at the package.json file in this project, you may have trouble with the shared package @jupyter-widgets/jupyterlab-manager.

fcollonval avatar Apr 30 '21 13:04 fcollonval

Configuration and implementation inspired from https://github.com/voila-dashboards/voila-gridstack/blob/master/packages/jupyterlab-gridstack/src/widgets/index.ts may be better than the use of require and the current configuration. I'll try to set up a PR.

fcollonval avatar Apr 30 '21 13:04 fcollonval

@fcollonval If you could look into it that would be incredibly helpful!

philippjfr avatar Apr 30 '21 14:04 philippjfr

Short update here. After investigation, the trouble in plotly was not due to pyviz_comms.

fcollonval avatar May 07 '21 14:05 fcollonval

@philippjfr is there an issue remaining here or can this be closed?

sophiamyang avatar Aug 01 '22 15:08 sophiamyang