Python 3.9 ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id Python.Python.3.9 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Python.Python.3.9 -e --silentwinget uninstall --id Python.Python.3.9 -e --silentInstaller အလိုက်
64-bit · EXE (WiX Burn) · လက်ရှိအသုံးပြုသူ
အသံတိတ်ထည့်သွင်းခြင်း
python-3.9.13-amd64.exe /quiet /norestartဖယ်ရှားခြင်း (Uninstall)
msiexec /x {F599560C-4808-4DAA-85D8-15F363099F67} /qn /norestart- MSI product code
- {f599560c-4808-4daa-85d8-15f363099f67}
- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{f599560c-4808-4daa-85d8-15f363099f67}
- UpgradeCode
- {4C337952-1816-5EFC-A444-4EC7803F00B5}
- DisplayVersion
- 3.9.13150.0
64-bit · EXE (WiX Burn) · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
python-3.9.13-amd64.exe /quiet /norestartဖယ်ရှားခြင်း (Uninstall)
msiexec /x {F599560C-4808-4DAA-85D8-15F363099F67} /qn /norestart- MSI product code
- {f599560c-4808-4daa-85d8-15f363099f67}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{f599560c-4808-4daa-85d8-15f363099f67}
- UpgradeCode
- {4C337952-1816-5EFC-A444-4EC7803F00B5}
- DisplayVersion
- 3.9.13150.0
32-bit · EXE (WiX Burn) · လက်ရှိအသုံးပြုသူ
အသံတိတ်ထည့်သွင်းခြင်း
python-3.9.13.exe /quiet /norestartဖယ်ရှားခြင်း (Uninstall)
msiexec /x {9E6D90A2-242C-4DC0-8F2A-1B967274134F} /qn /norestart- MSI product code
- {9e6d90a2-242c-4dc0-8f2a-1b967274134f}
- Uninstall registry key
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{9e6d90a2-242c-4dc0-8f2a-1b967274134f}
- UpgradeCode
- {2C4B1BF9-2AE3-54D5-B4DD-FEF8EC0B6DC0}
- DisplayVersion
- 3.9.13150.0
32-bit · EXE (WiX Burn) · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
python-3.9.13.exe /quiet /norestartဖယ်ရှားခြင်း (Uninstall)
msiexec /x {9E6D90A2-242C-4DC0-8F2A-1B967274134F} /qn /norestart- MSI product code
- {9e6d90a2-242c-4dc0-8f2a-1b967274134f}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{9e6d90a2-242c-4dc0-8f2a-1b967274134f}
- UpgradeCode
- {2C4B1BF9-2AE3-54D5-B4DD-FEF8EC0B6DC0}
- DisplayVersion
- 3.9.13150.0
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-python-3-9.ps1
$url = 'https://www.python.org/ftp/python/3.9.13/python-3.9.13-amd64.exe'
$sha256 = 'FB3D0466F3754752CA7FD839A09FFE53375FF2C981279FD4BC23A005458F7F5D'
$file = Join-Path $env:TEMP 'python-3.9.13-amd64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait install-python-3-9.ps1
$url = 'https://www.python.org/ftp/python/3.9.13/python-3.9.13-amd64.exe'
$sha256 = 'FB3D0466F3754752CA7FD839A09FFE53375FF2C981279FD4BC23A005458F7F5D'
$file = Join-Path $env:TEMP 'python-3.9.13-amd64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait install-python-3-9.ps1
$url = 'https://www.python.org/ftp/python/3.9.13/python-3.9.13.exe'
$sha256 = 'F363935897BF32ADF6822BA15ED1BFED7AE2AE96477F0262650055B6E9637C35'
$file = Join-Path $env:TEMP 'python-3.9.13.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait install-python-3-9.ps1
$url = 'https://www.python.org/ftp/python/3.9.13/python-3.9.13.exe'
$sha256 = 'F363935897BF32ADF6822BA15ED1BFED7AE2AE96477F0262650055B6E9637C35'
$file = Join-Path $env:TEMP 'python-3.9.13.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait