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.

相关推荐
张小凡vip28 分钟前
python--爬虫--成熟的爬虫框架Scrapy
爬虫·python·scrapy
Pluchon29 分钟前
Java个人综合项目——萌部落社区V2.0
java·python·spring·spring cloud·postman·idea
不瘦80斤不改名1 小时前
01-vibe-coding-起源与本质
人工智能·python
夜雪一千1 小时前
如何对新闻数据进行模糊去重
python
oyguyteggytrrwwwrt3 小时前
3dgs渲染部分详细注释
python
天天爱吃肉82185 小时前
【重磅发布:拿下新超仁达代理权 】
大数据·人工智能·python·功能测试·汽车
神王宝宝 王者小学5 小时前
面向领域驱动架构的查询实现方式
前端·python·架构
ningmengjing_6 小时前
Redis 从入门到实战:Python操作全攻略
数据库·redis·python
️学习的小王7 小时前
智能文档助手:基于RAG的本地化文档问答系统实战指南
人工智能·python·机器学习
不瘦80斤不改名7 小时前
05-vibe-coding-向agentic-engineering演进
人工智能·笔记·python·prompt