-
Notifications
You must be signed in to change notification settings - Fork 136
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
Getting Nglview going in Kaggle platform #947
Comments
Try to enable |
I have tried that as well, unfortunately I am still getting the same error. |
Thanks for replying, I got the following from executing Text("HELLO") TypeError Traceback (most recent call last) TypeError: 'module' object is not callable However executing Text.IntSlider() works |
My bad.
Did you kill/close your notebook and reopen the session after enabling |
In kaggle, if you close the notebook session, any change you have made to the kernel (such as installed packages) are lost. So what I did is starting a fresh notebook instance and re-do all the steps plus the "enable" line. But it doesn't seem to make any difference. |
Then I am sorry not able to help. I am not familiar with the platform. |
I am trying to get nglview going using Kaggle platform.
This is my installation code:
python -m pip install git+https://github.com/arose/nglview
jupyter nbextension enable --py widgetsnbextension
However when I try to run ngview, i.e.
import nglview
view = nglview.show_pdbid("3pqr")
view
It only output the message "NGLWidget()" without showing any window or error.
Can anyone suggest what I might be doing wrong?
nglview: 2.7.7
ipywidgets: 7.6.2
browser console error track:
manager-base.js:273 Could not instantiate widget
utils.js:119 Error: Could not create a model.
at utils.js:119
Thanks in Advance!
Pan
The text was updated successfully, but these errors were encountered: