2025-01-15 18:12:26 UTC
2.16 GB
UTF-8
PYTHON_SHA256282062869ce0bf0710451280a63b9b98e04e78be2f493010f19b3a2447946d99
PYTHON_VERSION3.14.0a4
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 62.97% (1.36 GB)
[#001] sha256:440cf16a6c1eb5c6c232aa5e54099878e9ddb01fb83b65139ec4e2618d1e00de - 34.46% (763 MB)
[#002] sha256:b63b9b50812315884f96e7a7df721f0549219b2d9fdad061f29958bced1c9009 - 0.0% (1.29 KB)
[#003] sha256:93c1a4a9829994ea46b0c7aeb11bbcf6bb3dd297a4485ce3411684c57942d89f - 0.0% (1.25 KB)
[#004] sha256:9121a41db93c8d9ab4509ea2f5102f6bbf85248a4b1a7e9aa86e8677f2c2be91 - 0.0% (1.25 KB)
[#005] sha256:ad0c24a2a0db3495b7b4e6cf13c4f0971cbb08055157b7d233e7bea3a2fe3a2a - 0.0% (1.25 KB)
[#006] sha256:08285e6d3088bca131fa0de2a5bb87136c159e0b66c59e5d54632db750d29606 - 2.56% (56.8 MB)
[#007] sha256:2298f000a2aa3b1de7912869d4efee972f1bd44dc29e63b24b448c4b51d88828 - 0.0% (1.26 KB)
Apply image 10.0.20348.2700
2025-01-12 10:10:43 UTCInstall update 10.0.20348.3091
2025-01-15 18:11:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-01-15 18:11:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHONIOENCODING=UTF-8
2025-01-15 18:11:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_VERSION=3.14.0a4
2025-01-15 18:11:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_SHA256=282062869ce0bf0710451280a63b9b98e04e78be2f493010f19b3a2447946d99
2025-01-15 18:12:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f ($env:PYTHON_VERSION -replace '[a-z]+[0-9]*$', ''), $env:PYTHON_VERSION); Write-Host ('Downloading {0} ...' -f $url); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $url -OutFile 'python.exe'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:PYTHON_SHA256); if ((Get-FileHash python.exe -Algorithm sha256).Hash -ne $env:PYTHON_SHA256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Installing ...'; $exitCode = (Start-Process python.exe -Wait -NoNewWindow -PassThru -ArgumentList @( '/quiet', 'InstallAllUsers=1', 'TargetDir=C:\Python', 'PrependPath=1', 'Shortcuts=0', 'Include_doc=0', 'Include_pip=1', 'Include_test=0' ) ).ExitCode; if ($exitCode -ne 0) { Write-Host ('Running python installer failed with exit code: {0}' -f $exitCode); Get-ChildItem $env:TEMP | Sort-Object -Descending -Property LastWriteTime | Select-Object -First 1 | Get-Content; exit $exitCode; } $env:PATH = [Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' python --version'; python --version; Write-Host 'Removing ...'; Remove-Item python.exe -Force; Remove-Item $env:TEMP/Python*.log -Force; $env:PYTHONDONTWRITEBYTECODE = '1'; Write-Host 'Verifying pip install ...'; pip --version; Write-Host 'Complete.'
2025-01-15 18:12:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["python"]