問題描述
在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