[jupyter exception error] Failed to load model class 'ColormakerRegistryModel' from module 'nglview-js-widgets'

conda install nglview -c conda-forge

GitHub - nglviewer/nglview: Jupyter widget to interactively view molecular structures and trajectories

One of the following two commands succeeds. 

jupyter-nbextension enable nglview --py --sys-prefix

Enabling notebook extension nglview-js-widgets/extension...
- Validating: OK

jupyter-nbextension enable widgetsnbextension --py --sys-prefix

Enabling notebook extension jupyter-js-widgets/extension...
- Validating: OK

It has not been working since then......

run command

jupyter notebook --NotebookApp.iopub_data_rate_limit=10000000 /mnt/d/Pycharm_workspace/Pharmacophore_screening

 There is always an error. It turned out that I did not delete " viewer._show_html("screener_matches.html") ", it should be directly to " viewer.show() "

Guess you like

Origin blog.csdn.net/weixin_43135178/article/details/132217016