https://github.com/ipython-contrib/IPython-notebook-extensions#installation说:
只需安装conda包即可。可以构建conda包 在父级中运行
conda build IPython-notebook-extensions
目录,然后执行conda install nbextensions
。
父目录是什么意思? ~/anaconda/
?
要安装到逻辑上正确(或最明智)的位置是什么?
编辑:有人建议我的jupyter个人资料目录,即~/.jupyter
,但这是空的,这有意义吗?
查看文档,
http://ipython.readthedocs.org/en/stable/config/extensions/index.html
http://ipython.readthedocs.org/en/stable/development/config.html
......也许我应该使用~/.ipython
实际上已包含:
README extensions nbextensions profile_default
这表明我可能已经安装了它?因此,请遵循原始文档:
安装完成后,只需转到/中的/ nbextensions /页面即可 用于激活/停用笔记本扩展的笔记本。
我尝试了http://localhost:8888/nbextensions和http://localhost:8888/tree/nbextensions但都失败了。
我对本自述文件感到沮丧。
确定它链接到链接到https://github.com/ipython-contrib/IPython-notebook-extensions/wiki
的wiki https://github.com/ipython-contrib/IPython-notebook-extensions/wiki/Home-4.x-%28Jupyter%29这页面说:
nbextension目录已移至其他位置,可以 在其中一个目录中找到:
from __future__ import print_function from jupyter_core.paths import jupyter_data_dir, jupyter_path print(jupyter_data_dir()) print(jupyter_path())
哪个收益率:
/Users/pi/Library/Jupyter
['/Users/pi/Library/Jupyter', '/Users/pi/anaconda/share/jupyter', '/usr/local/share/jupyter', '/usr/share/jupyter']
其中任何一个都不匹配~/.jupyter
有谁想出这个?这太乱了!也许答案是将其与anaconda一起安装,即在~
中,但这看起来并不正确。
编辑:我已经开了一个问题:https://github.com/ipython-contrib/IPython-notebook-extensions/issues/418