Closed ari62 closed 7 months ago
Fixed it. Solution was to
pip install -U ipywidgets
Which changed to these versions:
Uninstalling ipywidgets-7.6.5:
Successfully uninstalled ipywidgets-7.6.5
Successfully installed comm-0.2.1 ipywidgets-8.1.2 jupyterlab-widgets-3.0.10 widgetsnbextension-4.0.10
There appears to be an issue stemming from incompatibility between the older version of ipywidgets and the new JupyterLab 4. To address this, it is recommended to upgrade to the latest version of ipywidgets. For example, your current version of @jupyter-widgets/jupyterlab-manager is 3.0.0, which needs to be updated to version 5.0 or higher.
Note: ensure that you are working within a clean environment before making any updates to avoid potential conflicts. The following warning may be due to multiple versions of ipywidget installed.
The following source extensions are overshadowed by older prebuilt extensions: @jupyter-widgets/jupyterlab-manager
https://github.com/zhihanyue/qgridnext/tree/main/test_envs
We have tested on JupyterLab 4.1.0 with the environment py311-lab4-nb7-vl05
provided here. By conducting a test in this specified environment, you can quickly ascertain whether the issue is related to your current environment, allowing for further steps to resolve the issue.
Thank you so much for qgridnext! I was struggling a lot to fix the old qgrid. It took me days!
Environment
Operating System: macOs Ventura 13.5.1 Macbook Pro 16-inch 2021 Chip: M1 Max Browser: Chrome 120.0.0.6099.234 (Official Build) (arm64) Jupyterlab 4.1.0
Python Version:
$ python --version
Python 3.9.13
Python packages:
$ pip freeze
or$ conda list
(please include qgridnext, pandas, ipywidgets, jupyterlab/notebook versions) see attached pipfreeze.txtJupyter lab packages (if applicable):
$ jupyter labextension list
Other labextensions (built into JupyterLab) app dir: /Users/user/opt/anaconda3/share/jupyter/lab jupyter-matplotlib v0.11.3 enabled OK jupyterlab-dash v0.4.2 enabled X jupyterlab-flake8 v0.7.1 enabled X
The following extensions are outdated: jupyterlab-dash jupyterlab-flake8
Consider checking if an update is available for these packages.
Disabled extensions: @jupyterlab/completer-extension:base-service @jupyterlab/fileeditor-extension:language-server @jupyterlab/lsp-extension:settings @jupyterlab/notebook-extension:language-server
The following source extensions are overshadowed by older prebuilt extensions: @jupyter-widgets/jupyterlab-manager
from qgrid import show_grid show_grid(myDF)