gabrielelanaro / chemview

The new generation molecular viewer for IPython notebook
GNU Lesser General Public License v2.1
81 stars 17 forks source link

Can't install the widget to jupyter manually. #42

Closed jdagdelen closed 7 years ago

jdagdelen commented 7 years ago

When I try to install the chemview widget as per the installation instructions, I get the following error:

KeyError: 'The Python module chemview is not a valid nbextension, it is missing the_jupyter_nbextension_paths()method.'

hainm commented 7 years ago

quick fix is to adapt this code

https://github.com/arose/nglview/blob/master/nglview/__init__.py#L12-L18

gabrielelanaro commented 7 years ago

Sorry for the super-late answer. I can't manage to reproduce this error.

@hainm Is it necessary for newest version of jupyter? I'm wondering why I'm not having this problem on my installation

hainm commented 7 years ago

I am not sure. I got the similar error about 1 year ago: https://github.com/jupyter/notebook/issues/1624