File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -213,12 +213,27 @@ function Main {
213213 Log ' Checking Python 3.11+'
214214 $python = Find-Python
215215 if (-not $python ) {
216+ $winget = Get-Command ' winget' - ErrorAction SilentlyContinue |
217+ Select-Object - ExpandProperty Source - ErrorAction SilentlyContinue
218+ if ($winget ) {
219+ Die @"
220+ Python $MinMajor .$MinMinor + was not found.
221+
222+ Install Python by running:
223+
224+ winget install Python.Python.3.14
225+
226+ Then open a new terminal window and run this installer again.
227+ "@
228+ }
229+
216230 Die @"
217231Python $MinMajor .$MinMinor + was not found.
218232
219- Install Python from https://www.python.org/downloads/windows/
220- Make sure to check "Add python.exe to PATH" during installation,
221- then run this installer again.
233+ Install Python from:
234+ https://www.python.org/downloads/windows/
235+
236+ Then open a new terminal window and run this installer again.
222237"@
223238 }
224239 Write-Host " Using Python: $python "
You can’t perform that action at this time.
0 commit comments