2015-11-04 114 views
1

我已經嘗試過去幾個小時來安裝在以下回購https://github.com/ipython-contrib/IPython-notebook-extensions中找到的nbextensions無濟於事。Ipython安裝筆記本擴展

的指示說,選擇運行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中的nbextensions文件夾中的所有文件夾和文件https://github.com/ipython-contrib/IPython-notebook-extensions/tree/master/nbextensions

我應該如何安裝/啓用這些擴展?說明有點混亂。

回答

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 
+0

謝謝!我得到了一個'ImportError:No module named yaml'錯誤,所以在這裏留下來供其他人蔘考:確保你安裝了'pyyaml'以使其正常工作 – Joseph