随机
Enter 搜索 ↑↓ 切换 Esc 清空

win-install-python

命令

Windows 安装 Python 编程语言

win-install-python

Windows 安装 Python 编程语言

补充说明

Python 是一种简单易学、功能强大的编程语言,拥有丰富的标准库和第三方包支持,广泛应用于 Web 开发、数据分析和人工智能。

安装 Python

# 安装 Python
cd /d "%USERPROFILE%\Downloads" && curl.exe -L -o python-3.13.0-amd64.exe https://www.python.org/ftp/python/3.13.0/python-3.13.0-amd64.exe && python-3.13.0-amd64.exe /quiet InstallAllUsers=1 PrependPath=1
# 安装 Python
cd ~\Downloads; curl.exe -L -o python-3.13.0-amd64.exe https://www.python.org/ftp/python/3.13.0/python-3.13.0-amd64.exe; .\python-3.13.0-amd64.exe /quiet InstallAllUsers=1 PrependPath=1

winget 安装命令

推荐使用 winget 安装,自动处理依赖、静默后台执行

winget install -e --id Python.Python.3.13 -h --accept-package-agreements --accept-source-agreements

使用前提

执行结果

功能说明