【已解决】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

猜你喜欢

转载自blog.csdn.net/MiMicoa/article/details/79995689