我在过去几个小时内尝试安装以下repo https://github.com/ipython-contrib/IPython-notebook-extensions
中找到的nbextensions无效。
说明说运行conda
或setup.py
我已经完成了两项并且都抛出错误
我去了我的~/.ipython/nbextensions/
文件夹,同时运行conda
和setup.py
并出现错误
conda build IPython-notebook-extensions
Error: no such directory: /Users/username/.ipython/nbextensions/IPython-notebook-extensions
我的.ipython / nbextensions文件夹包含github nbextensions
中https://github.com/ipython-contrib/IPython-notebook-extensions/tree/master/nbextensions
文件夹中的所有文件夹和文件
我应该如何安装/启用这些扩展?说明有点令人困惑。
答案 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