Jupyter Notebook是一个开源Web应用程序, 允许你创建和共享包含实时代码, 方程式, 可视化效果和叙述文本的文档。用途包括数据清理和转换, 数值模拟, 统计建模, 数据可视化, 机器学习等。
Jupyter支持40多种不同的编程语言, 并且python是其中之一。 Python是安装Jupyter Notebook本身的要求(Python 3.3或更高版本, 或者Python 2.7)。
可以使用以下两种方法之一安装Jupyter Notebook:
- 使用Anaconda:
使用Anaconda发行版安装Python和Jupyter, 该发行版包括Python, Jupyter Notebook和其他用于科学计算和数据科学的常用软件包。要安装Anaconda, 请完成如何在Windows上安装Anaconda?并按照提供的说明进行操作。 -
使用画中画:
使用安装JupyterPIP包裹管理员用于安装和管理以Python编写的软件包/库。要安装点子, 请完成如何在Windows上安装PIP?并按照提供的说明进行操作。
使用Anaconda安装Jupyter Notebook:
Anaconda是一个开源软件, 其中包含Jupyter, spyder等, 用于大型数据处理, 数据分析和重型科学计算。 Anaconda适用于R和python编程语言。 Spyder(Anaconda的子应用程序)用于python。适用于python的Opencv将在spyder中工作。软件包版本由名为conda的软件包管理系统管理。
要使用Anaconda安装Jupyter, 只需按照以下说明进行操作:
启动Anaconda Navigator:

单击"安装Jupyter笔记本"按钮:

开始安装:

加载包:

完成安装:

启动Jupyter:


使用pip安装Jupyter Notebook:
画中画
是一个软件包管理系统, 用于安装和管理以Python编写的软件包/库。这些文件存储在称为Python程序包索引(PyPI)的大型"在线存储库"中。
pip使用PyPI作为包及其依赖项的默认源。
要使用pip安装Jupyter, 我们首先需要检查系统中pip是否已更新。使用以下命令更新点:
python -m pip install --upgrade pip

更新pip版本后, 请按照下面提供的说明安装Jupyter:
安装Jupyter的命令:python -m pip install jupyter
开始安装:

下载文件和数据:

安装软件包:

完成安装:

启动Jupyter:
使用以下命令通过命令行启动Jupyter:
jupyter notebook


注意怪胎!巩固你的基础Python编程基础课程和学习基础知识。
首先, 你的面试准备可通过以下方式增强你的数据结构概念:Python DS课程。