Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work in Google Colab #816

Closed
AlexeyG opened this issue Jun 4, 2019 · 5 comments
Closed

Does not work in Google Colab #816

AlexeyG opened this issue Jun 4, 2019 · 5 comments

Comments

@AlexeyG
Copy link

AlexeyG commented Jun 4, 2019

nglview does not seem to work in a Google colaboratory. Issuing the below commands (after the package was successfully installed via pip install) just crashes the runtime.

import nglview
import ipywidgets
nglview.show_pdbid('3pqr')
@hainm
Copy link
Collaborator

hainm commented Jun 4, 2019

hi, I am not sure if codelab supports 3rd party software like nglview. Does that lab work with ipywidgets-based bqplot or ipyvolume or something else? The issue here is that pip install nglview is not sufficient to make nglview work. User normally need to "activate" the javascript code via jupyter-nbextension enable nglview --py --sys-prefix (don't ask me why because I don't know why we really need that :D). That step should be done before opening the notebook.

@hainm
Copy link
Collaborator

hainm commented Jun 4, 2019

@Taoaoxiang
Copy link

@AlexeyG Runtime says "Busy", and the little icon keeps spinning forever.
Mine is using conda to install nglview.
!conda install -y --prefix /usr/local nglview -c conda-forge
I think Colab doesn't support a lot of packages. Anyways, thank you for your issue report. Otherwise I have to wait, like, forever.

@hainm
Copy link
Collaborator

hainm commented Apr 10, 2021

I go ahead closing this case since it's out of our control. Thanks for asking.

@hainm
Copy link
Collaborator

hainm commented Sep 27, 2021

Guys, FYI: googlecolab/colab-cdn-widget-manager#14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants