Skip to content

Commit 6cf9e69

Browse files
committed
fix search for python 3
- fixes microsoft#1583
1 parent 3a9dbac commit 6cf9e69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/verify-windows.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ if (-not (Get-Command -Name "tar")) {
8282
}
8383

8484
# Check for python 3
85-
if (-not (Get-Command -All -Name "python" | Where-Object { $_.Version -ge [Version]"3.0" }))
85+
if (-not (Get-Command -All -Name "python3"))
8686
{
8787
Write-Error "Unable to find python 3. Please install python3 and add it to your path"
8888
}

0 commit comments

Comments
 (0)