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.

相关推荐
vicky05178 分钟前
解决 ModuleNotFoundError: No module named ‘torch‘ 笔记
python
wuyk55513 分钟前
Python实战项目02:学生成绩管理系统(控制台|CSV导出|完整落地)
开发语言·python
qq5918406856 小时前
uiautomator2自动化安卓手机操作
python
80s7777 小时前
动态代理和静态代理的区别,动态代理怎么提高网络安全性
python
niucloud-admin9 小时前
JAVA V6 多商户商城 开发文档——job 计划任务开发
java·python·github
小叶肥辉9 小时前
LangChain链和LangGraph图的学习笔记【三】——分别用langchain_openai库和langchain_community库调用大模型
笔记·python·langchain
2401_873479409 小时前
IP属地为什么有时显示外省?用IP查询工具核查动态分配、运营商出口与GeoIP库
python·tcp/ip·ip
OKkankan11 小时前
LangChain 能力详解!:输出解析、RAG、向量数据库与 Retriever 检索器
数据结构·python·langchain·ai应用
山哥ol12 小时前
【Geany 环境配置与中文乱码解决参考】
python
会飞锦鲤13 小时前
基于 Mask R-CNN 的药片缺陷检测系统
人工智能·pytorch·python·神经网络·resnet-50