Skip to content
Hai Nguyen edited this page Nov 21, 2017 · 1 revision

NOTE: This is outdated. Please see the update here: https://github.com/arose/nglview/blob/master/docs/FAQ.md

PS: Do feel free to buzz us if thing does not work correctly.

Can not import nglview although successfully installed it?

You can try

python -m ipykernel install --user

Then in your Jupyter notebook, choose the right kernel. If you are using python 2, make sure to choose Python 2 kernel.

widget not shown?

try

conda install traitlets=4.2.1 ipywidgets==4.1.1 notebook=4.1.0
  • try ipywidgets >= 5.0 and want to go back to ipywidgets 4.1.1?

supposed you created ipywidgets5 conda env to test, then if you want to go back to root env

source deactivate ipywidgets5

need to re-enable ipykernel

python -m ipykernel install --user

Can I have two MDA.Atomgroups in the same view?

https://github.com/arose/nglview/issues/434