-
- 在 PowerShell 里执行:
Get-Command pipx
Get-ChildItem -Path "$env:APPDATA\Python\Python*\Scripts" -Filter pipx.exe -Recurse
- 在 PowerShell 里执行:
你会得到类似结果:
C:\Users\Administrator\AppData\Roaming\Python\Python313\Scripts\pipx.exe
powershell 执行
$env:PATH += ";C:\Users\Administrator\AppData\Roaming\Python\Python313\Scripts"
powershell中验证:
pipx –version