我使用anaconda从Ipython Notebook Server升级到Jupyter Server:
(ioos)usgs@gam:~/.jupyter/custom$ conda list jupyter
jupyter 1.0.0 py27_0 defaults
jupyter-client 4.1.1 <pip>
jupyter-console 4.0.3 <pip>
jupyter-core 4.0.6 <pip>
jupyter_client 4.1.1 py27_0 defaults
jupyter_console 4.0.3 py27_0 defaults
jupyter_core 4.0.6 py27_0 defaults我的“分享笔记为主旨”按钮消失了。
我想扩展的配置会随着新版本的变化而改变。
我可以看到包含gist.js的~/.local/share/jupyter/nbextensions和一个名为mathjax的目录。
有没有人知道如何在这个Jupyter版本中正确配置“以Gist方式分享笔记本”按钮?
发布于 2015-11-06 04:52:11
您仍然需要激活nbextension。custom.js现在位于:
$(jupyter --config-dir)/custom我还有一个文件:
$HOME/.jupyter/nbconfig/notebook.json使用,
{
"load_extensions": {
"livereveal/main": true,
"gist/gist": true
}
}我确实记得是我还是jupyter migrate创造的。
PS:请确保下载最新的gist.js。
发布于 2015-12-01 04:14:17
我已经使用以下步骤修复了它:
gist.js:$ wget以用户身份https://raw.githubusercontent.com/minrk/ipython_extensions/master/nbextensions/gist.js
$ jupyter nbextension安装--用户gist.js
注意:该命令接受文件名(使用.js)
$(jupyter --config-dir)/nbconfig/notebook.json:{ "load_extensions":{ "gist":true } }
通过the instructions here suggest that python snippets should be used instead.
发布于 2017-06-06 11:05:02
要安装,只需运行:
pip install jupyter-notebook-gist
jupyter serverextension enable --py jupyter_notebook_gist
jupyter nbextension install --py jupyter_notebook_gist
jupyter nbextension enable --py jupyter_notebook_gist
jupyter nbextension enable --py widgetsnbextension您还需要配置jupyter。有关详情,请参阅visit here
https://stackoverflow.com/questions/33545899
复制相似问题