Ipython安装笔记本扩展程序

时间:2015-11-04 00:13:17

标签: ipython ipython-notebook

我在过去几个小时内尝试安装以下repo https://github.com/ipython-contrib/IPython-notebook-extensions中找到的nbextensions无效。

说明说运行condasetup.py我已经完成了两项并且都抛出错误

我去了我的~/.ipython/nbextensions/文件夹,同时运行condasetup.py并出现错误

conda build IPython-notebook-extensions Error: no such directory: /Users/username/.ipython/nbextensions/IPython-notebook-extensions

我的.ipython / nbextensions文件夹包含github nbextensionshttps://github.com/ipython-contrib/IPython-notebook-extensions/tree/master/nbextensions文件夹中的所有文件夹和文件

我应该如何安装/启用这些扩展?说明有点令人困惑。

1 个答案:

答案 0 :(得分:2)

这应该做:

git clone https://github.com/ipython-contrib/IPython-notebook-extensions.git
cd IPython-notebook-extensions
python setup.py install
cd ..
rm -r IPython-notebook-extensions