plotly / jupyter-dash

OBSOLETE - Dash v2.11+ has Jupyter support built in!
https://dash.plotly.com/dash-in-jupyter
MIT License
955 stars 234 forks source link

Installing via conda causes "Plugin 'jupyterlab_dash' is already registered." #125

Closed jmakov closed 10 months ago

jmakov commented 11 months ago

When installing via conda (see env.yaml below), and running jupyter lab build, then opening JupyterLab, a pop up appears: "Plugin 'jupyterlab_dash' is already registered."

env.yaml

name: test
channels:
  - numba
  - rapidsai
  - conda-forge
  - nvidia
  - defaults
dependencies:
  - bokeh
  - datashader
  - holoviews
  - hvplot >= 0.8.4
  - click
  - cudf
  - cuda
  - ipywidgets
  - jupyter-resource-usage
  - jupyter_bokeh
  - jupyter-dash
  - jupyterlab
  - jupyterlab_execute_time
  - jupyterlab_widgets
  - jupyterlab-variableinspector
  - nodejs
  - numba
  - numpy
  - pandas[performance,parquet,feather]
  - pip
  - polars[numpy,pandas,pyarrow,connectorx]
  - pyarrow
  - pytest
  - pyyaml
  - python
  - python-dateutil
  - ruptures
  - scikit-learn-intelex
  - setuptools
  - tqdm
  - pip:
      - detecta
      - pdoc
      - pycaret[full]
      - ray[default,tune,train,rlib]
zba commented 10 months ago

did you found a reason ? Having the same with pip install, jupiter alerts it on each start

jmakov commented 10 months ago

Yes, restricting JupyterLab version solves the problem for me. I've modified this line: - jupyterlab >= 4.0.0, < 5.0.0a0 # preventdashbuild problems, also required by https://github.com/jupyter-lsp/jupyterlab-lsp