赞
踩
参考:https://github.com/nglviewer/nglview
conda create -n your_env python=3.8
source activate your_env
conda install -c conda-forge nglview
jupyter-nbextension enable nglview --py --sys-prefix
import nglview as nv
view = nv.demo()
view
下面的安装错误解决方法,可能解决好还是有问题:
## 安装
pip install nglview
运行报错(参考:https://github.com/yWorks/yfiles-jupyter-graphs/issues/18):
AttributeError: ‘super’ object has no attribute ‘ipython_display’
##解决方法:
ipywidgets 进行降级,需要<8
pip i
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。