Python 开发环境

1. Overview

Windows WSL

2. Windows

使用 uv 管理python版本和虚拟环境

2.1. uv

1
2
3
4
5
6
7
8
9
10
11
12
# Install uv
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

# Upgrading uv
uv self update

# Add shell autocompletion
Add-Content -Path $PROFILE -Value @'
# uv
(& uv generate-shell-completion powershell) | Out-String | Invoke-Expression

'@

2.2. python

阅读更多