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.

相关推荐
ServBay14 小时前
9 个 Python 第三方库推荐,不用 AI 都好像多出一个团队
后端·python
用户83562907805114 小时前
如何使用 Python 添加和管理 Excel 批注(完整示例)
后端·python
用户83562907805114 小时前
使用 Python 管理 Excel 工作表:创建、复制、删除与重命名
后端·python
荣码1 天前
LangGraph多Agent协作:3个Agent干活比1个强,但我踩了4个坑
java·python
用户8356290780512 天前
Python 操作 PDF 附件:添加、查看与管理指南
后端·python
宇宙之一粟2 天前
乐企版式文件生成平台
java·后端·python
学测绘的小杨3 天前
CompassFusion:一个从 GNSS 到 GNSS/INS 组合导航的独立工程包
python
zzzzzz3103 天前
当产品经理说这个很简单:我用Python自动化处理奇葩需求的实战指南
python·pycharm·产品经理
雪隐3 天前
个人电脑玩AI-06让5060 Ti给你打工——不光能画画,Qwen3-TTS还能学人说话,连我老板都信了!
人工智能·后端·python
兵慌码乱3 天前
面向桌面端的资产管理系统分层架构设计与核心模块实现
python·系统架构·sqlite·pyqt5·数据库设计·桌面应用开发·mvc架构