你若安好,便是晴天

恋上Manim之Python安装

1. 下载

  • 打开Python镜像源

    https://mirrors.huaweicloud.com/python/
    
  • 下载pythn3.9.5版本

    https://mirrors.huaweicloud.com/python/3.9.5/python-3.9.5.exe   
    

2. 安装

  • 打开安装程序

  • 勾选:Add python.exe to PATH (添加python到系统环境中)

  • 点击:Customize Installation (自定义安装)

  • 点击:Next(下一步)

  • 设置:Customize install location (自定义安装路径)

    D:\Programs\Python
    
  • 点击:Close (关闭)

3. 环境

  • 打开cmd

    Win R
    
    cmd
    
    Enter
    
  • 查看版本

    python -V
    
  • 查看路径

     where python
    

4. pip

  • 查看版本

    pip --version
    
  • 更新版本

    pip install --upgrade pip
    
  • 查看版本

    pip --version
    
  • 配置全局镜像源

    pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
    
  • 验证源是否生效

    pip config list
    
posted @ 2025-08-06 17:32  Newbe落花  阅读(24)  评论(0)    收藏  举报