lux-org / lux

Automatically visualize your pandas dataframe via a single print! 📊 💡
Apache License 2.0
5.15k stars 365 forks source link

[BUG] can't install to jupyter lab #409

Open Berowne opened 3 years ago

Berowne commented 3 years ago

Describe the bug Install of luxwidget as a jupyter lab extension fails, while the notebook extension is working fine.

To Reproduce

  1. build a conda python 3.8 environment
  2. pip install lux-api lux-widget ipywidgets
  3. jupyter labextension install @jupyter-widgets/jupyterlab-manager
  4. jupyter labextension install luxwidget XX. >>> step 4 fails with:

    ValueError: "lux-widget" is not a valid npm package In jupyter labs the toggle for df to lux fails with "Error displaying widget: model not found" Alt error "Loading Widgets..." but nothing shown.

Expected behavior LUX charts shown in Jupyter Labs as they do in Jupyter Notebooks

Screenshots

Additional context tqdm has been used to test widgets are working. lux.version = 0.3.2 lux-widgets = 0.1.7 following instructions https://lux-api.readthedocs.io/en/latest/source/getting_started/installation.html#manual-installation-dev-setup