一、使用 pip 或者 conda 来安装 Jupyter Notebook
1.使用 pip 安装
pip install notebook
2.使用 conda 安装
conda install notebook
二、验证安装
安装完成后,运行以下命令来启动 Jupyter Notebook:
jupyter notebook
三、如果出现错误
比如出现缺少包,则尝试安装后重试启动。
下面是我遇到的部分问题:
3.1 缺少 six 包
conda install six
3.2 重新安装 jupyter notebook
pip install --upgrade --force-reinstall jupyter