【已解決】Error executing Jupyter command 'notebook': [Errno 2] No such file or directory

問題描述

在Mac上安裝Jupyter Notebook,按照Jupyter官網文檔進行安裝,命令如下

python3 -m pip install --upgrade pip
python3 -m pip install jupyter

安裝完成後執行jupyter notebook命令時提示

Error executing Jupyter command 'notebook': [Errno 2] No such file or directory

相關的環境參數

  • 操作系統:macOS 10.13.4
  • Python版本:Python 3.6.3

解決方案

依次輸入以下兩條命令,若提示權限不足在前面加sudo

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