Closed scottwsides closed 8 months ago
hi @scottwsides
Latest nglview
already works well with lab and ipywidgets 8 (https://github.com/nglviewer/nglview/pull/1045)
We made a release almost a year ago.
I just tested latest versions of ipywidgets, jupyterlab and nglview=3.0.8 and 'import nglview' fails (see below)
Just triple checked and w/these deps 'import nglview' fails
I tried a couple of other >4 versions and no luck
I just tested latest versions of ipywidgets, jupyterlab and nglview=3.0.8 and 'import nglview' fails with errors about _ipython_display
Just triple checked and w/these deps 'import nglview' fails
- ipywidgets==8.0.6
- nglview==3.0.4 (version mentioned in Support ipywidgets v8 #1045
- jupyterlab=4.1.0b0
I tried a couple of other >4 versions and no luck
I am getting lost here. there is no __ipython_display__
error as you mentioned.
If you click to show the Javascript error, what does the message say?
and what does the versions show in your notebook for nglview and ipywidgets
@scottwsides Or you can try my version here
ipywidgets: 8.1.1
nglview: 3.0.8
Ok... so nglview==3.0.4 ipywidgets==8.0.6 jupyterlab>4 does NOT work nglview==3.0.8 ipywidgets==8.1.1 jupyterlab>4 works.
Thanks for the help. I would say you should document this somewhere. cheers,
nglview==3.0.4 ipywidgets==8.0.6 jupyterlab>4 does NOT work nglview==3.0.8 ipywidgets==8.1.1 jupyterlab>4 works.
I see. I am not aware of this issue then.
I would say you should document this somewhere. cheers,
Let's document there. :D
I've updated here: https://github.com/nglviewer/nglview/blob/master/README.md#released-version
Thanks for the help!
This issue has been mentioned before... eg that ipywidgets needs to be between 7.7.1-8 to work (meaning that 'import nglview' will not fail). I'm worried that if this continues that it will eventually stop working in jupyterlab. Are there plans to update nglview so that it will work with updated ipywidgets and jupyterlab?