Installing the classic Jupyter Notebook interface

简单来说,Jupyter Notebook 是一个基于网页的编程环境,让你可以:

边写代码边运行:可以一次只运行一小段代码,而不是整个程序

混合显示:代码、运行结果(包括图表、图片)、文字说明可以写在一起

可视化友好:图表、图片可以直接显示在代码下方

典型用途:

�� 数据分析与探索

�� 机器学习模型开发

�� 教学与学习(写带注释的代码教程)

�� 实验记录(代码+结果+说明放在一个文件里)

适合用的场景:

你在做数据分析,想一步一步看结果

你在学习Python,想写笔记+代码一起保存

你在数据可视化,想让图表直接显示在代码下面

你在教学,需要展示代码和解释文字

安装Jupyter Notebook

This section includes instructions on how to get started with Jupyter Notebook. But there are multiple Jupyter user interfaces one can use, based on their needs. Please checkout the list and links below for additional information and instructions about how to get started with each of them.

This information explains how to install the Jupyter Notebook and the IPython kernel.

Prerequisite: Python

While Jupyter runs code in many programming languages, Python is a requirement for installing the Jupyter Notebook. The Python version required differs between Jupyter Notebook releases (e.g. Python 3.6+ for Notebook v6.3, and Python 3.7+ for Notebook v7) .

We recommend using the Anaconda distribution to install Python and Jupyter. We'll go through its installation in the next section.

Installing Jupyter using Anaconda and conda

For new users, we highly recommend installing Anaconda. Anaconda conveniently installs Python, the Jupyter Notebook, and other commonly used packages for scientific computing and data science.

Use the following installation steps:

  1. Download Anaconda. We recommend downloading Anaconda's latest Python 3 version (currently Python 3.9).

  2. Install the version of Anaconda which you downloaded, following the instructions on the download page.

  3. Congratulations, you have installed Jupyter Notebook. To run the notebook:

    复制代码
    jupyter notebook

    See Running the Notebook for more details.

相关推荐
小小测试开发2 小时前
安装 Python 3.10+
开发语言·人工智能·python
梦想不只是梦与想2 小时前
Python 中的装饰器
python·装饰器
我叫唧唧波3 小时前
Python+AI 全栈学习笔记
人工智能·python·学习
copyer_xyf4 小时前
Python 异常处理
前端·后端·python
麻雀飞吧4 小时前
期货多合约策略目标持仓怎么更新才不乱
python·区块链
Cthy_hy4 小时前
拓扑排序超详解:原理 + Kahn 贪心算法
python·算法·贪心算法
LSssT.4 小时前
【01】Python 机器学习
开发语言·python
为爱停留5 小时前
给智能体装上「刹车」:中断(Interrupts)与人工审批全解析
python
l1t5 小时前
DeepSeek总结的使用实体-组件-系统和基于存在性处理进行Python编程39-40
开发语言·python
曾阿伦5 小时前
Python 搭建简易HTTP服务
开发语言·python·http