nglviewer / nglview

Jupyter widget to interactively view molecular structures and trajectories
http://nglviewer.org/nglview/latest/
Other
816 stars 133 forks source link

Doesn't seem to work with google colab #1109

Open 0xorial opened 4 months ago

0xorial commented 4 months ago

I am trying to run nglview in google colab, but even simplest test does not seem to show anything. The repro here: https://colab.research.google.com/drive/1zN-Kt3o25i7xbjUjP9woQZXSgmGlpDIC

image

hainm commented 4 months ago

hi I don't think nglview works well with colab.

kimjc95 commented 2 months ago

I guess it is the problem with the ipywidgets version 8. I tried the below code and it works now.

!mamba install -c conda-forge nglview ipywidgets=7