安装Jupyter Notebook的相关说明
一、 jupyter官网相关说明及使用Python镜像安装
Project Jupyter | Installing Jupyter
pip install notebook # 利用python包管理工具pip安装
jupyter notebook # 运行Jupyter Notebook
Note:
a.
E: 在安装过程中有可能会报如下错误:
Cargo, the Rust package manager, is not installed or is not on PATH.
This package requires Rust and Cargo to compile extensions.
Install it through the system's package manager or via https://rustup.rs/
S:解决
- 从链接下载 rustup‑init.exe,下载后双击运行
- 从该链接的教程中进行后续的一些配置操作
- 切记 2 中步骤需要全部执行,否则可能会报缺少C++环境的错误
b.
E:
S:
# 报如上图所示的错误,则是缺少i686-pc-windows-msvc
# 命令行执行
rustup target add i686-pc-windows-msvc
如果想要达到下述图中效果,可执行代码:
pip install jupyterlab # 安装
jupyter lab # 通过这行代码运行,运行后会通过浏览器打开
二、 安装Anaconda,会自动安装jupyterlab插件(推荐,但安装可能会遇到些许问题)
a. 直接参考该链接进行安装
b. 安装完成后,打开上述教程中所说的Anaconda Navigator
c. 里边有一个JupyterLab,点击Launch即可运行