Open chabi-fin opened 6 days ago
Dear @chabi-fin, I think nglview accidentally not support traditional notebook (e.g: in VS).
You can try to downgrade nglview
to 3.0.8 to make it work.
Meanwhile, I am working on the fix.
@chabi-fin Please try latest version, v3.1.4
pip3 install nglview==3.1.4
(conda version will be released later via conda-forge)
@hainm thanks for taking a look into this!
Unfortunately after updating with pip install, I get the same error. Any ideas? I see our python versions are different, but I think I need at least 3.11 for some packages I'd want in the same environment as nglview.
Hi, I will investigate. Thanks.
Dear @chabi-fin This is exactly what I did
create py3.11
env
mamba create -n py3.11 python=3.11 jupyterlab nbclassic notebook
source activate py3.11
pip3 install nglview==3.1.4
open VSCode
add code
pick py3.11
env
It's good to uninstall nglview and redo it. Cheers.
I'm trying to use nglview in a jupyter notebook within VS Codium, but whenever I try to import nglview, I get a javascript error.
Alternatively, if I use a
jupter notebook
as a browser window and enterI simply get a blank/white space.
Prehaps this is not on the nglview end, but could you point me in the right direction? I'd really like to use this package in my analysis!
I am using nglview 3.1.2 and ipywidgets 8.1.5