OSX10.12.3 Sierra 安裝Ipython Notebook

今天作數據分析,決定給Mac 安裝Ipython Notebook。

Mac系統版本: OSX10.12.3 Sierra

輸入:sudo pip install jupyter 

結果報錯  google之後  輸入 

sudo pip install jupyter --upgrade --ignore-installed six

仍然不行。 share/ 文件夾沒有權限。

再次google, 看到這篇博客說的很詳細: 解決mac-osx下pip安裝ipython權限的問題

總之就是OSX 從 EI Capitan 開始 加入了SIP機制(System Integrity Protection),必須取消:

輸入csrutil disable回車
重啓Mac即可
如果想重新啓動SIP機制重複上述步驟改用csrutil enable即可

也可以使用用戶安裝:

 pip install jupyter --user 



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章