之前寫過一篇文章介紹如何在windows上安裝anaconda和jupyter notebook,本文再總結一下在mac上安裝jupyter的方法,不要太簡單哦。
1. 確認你已經安裝了適合的python版本,我這裏以python3爲例
2. 利用pip安裝jupyter
# 如果是python2安裝指令爲
pip install --user jupyter
# 如果是python3安裝指令爲
pip3 install --user jupyter
3. 在命令行輸入如下指令啓動jupyter
# 如果是python3就輸入下面的指令
python3 -m IPython notebook
4. 如果一切順利,你的瀏覽器應該已經彈出jupyter的窗口了~