[教程]Python环境安装

本文详细介绍了如何在macOS及Windows环境下安装Python 3、pip及Jupyter Notebook,包括使用Homebrew在macOS下安装Python3,确保pip为最新版本,并通过pip安装Jupyter Notebook,同时提供了Windows环境下配置环境变量的具体步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Python环境安装

mac环境下 安装Python3 pip jupyter

  1. 安装homebrew
  2. 通过homebrew安装Python3 

    brew install Python3

  3. 安装Python包管理工具 pipPython’s package manager
  4. 确保是最新的pip

    pip3 install --upgrade pip

  5. 安装jupyter

    pip3 install jupyter

  6. 使用jupyter

    jupyter notebook

win环境下 安装Python3 pip jupyter

  1. 安装jupyter

    Python -m pip install jupyter

  2. 配置环境变量
    C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32;
    C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\Scripts;
  3. 使用jupyter
    jupyter notebook

    Python Mac OS Windows 安裝 Jupyter
    windows下面安装Python和pip终极教程

转载于:https://www.cnblogs.com/viviwong345/p/6999311.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值