Scrollable RISE
RISE 是一套結合jupyter-notebook 和reveal.js 的專案
讓我們能在 jupyter notebook 直接開啟如同 reveal.js 的 slide
RISE 是一套結合jupyter-notebook 和reveal.js 的專案
讓我們能在 jupyter notebook 直接開啟如同 reveal.js 的 slide
最近在 mac 上更新了 gcc 6 後,不管是開 Octave 還是 R
都會出現以下的錯誤訊息
dyld: Library not loaded: /usr/local/lib/gcc/5/libgfortran.3.dylib
Referenced from: /usr/local/Cellar/r/3.3.0/R.framework/Versions/3.2/Resources/lib/libR.dylib
Reason: image not found
Trace/BPT trap: 5
reavel.js 提供了 data-markdown="example.md"
這個 tag 可以載入外部的 markdown
卻沒提供可以載入 html 的 tag
於是就有人寫了這個External.js
進入 R 的命令列,輸入下面的指令
就能安裝 IRKernel,以後就能在 jupyter 中使用 R
install.packages(c('rzmq','repr','IRkernel','IRdisplay'),
repos = c('http://irkernel.github.io/', getOption('repos')))
IRkernel::installspec()
先安裝 Python2 和 Python3 的 ipython notebook
pip2 install ipython notebook
pip3 install ipython notebook
分別用各自的 ipython 執行下面的指令
ipython2 kernelspec install-self
ipython3 kernelspec install-self
在 mac 上,用 pip3 安裝完 django 1.8.1 後
執行 django-admin
出現了以下的錯誤訊息
Traceback (most recent call last):
File "/usr/local/bin/django-admin", line 2, in <module>
from django.core import management
ImportError: No module named django.core