Python 3.8 ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id Python.Python.3.8 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Python.Python.3.8 -e --silentwinget uninstall --id Python.Python.3.8 -e --silentInstaller အလိုက်
64-bit · EXE (WiX Burn) · လက်ရှိအသုံးပြုသူ
အသံတိတ်ထည့်သွင်းခြင်း
python-3.8.10-amd64.exe /quiet /norestartဖယ်ရှားခြင်း (Uninstall)
msiexec /x {E9CD241B-9125-4624-9625-FF42D2F3647F} /qn /norestart- MSI product code
- {e9cd241b-9125-4624-9625-ff42d2f3647f}
- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e9cd241b-9125-4624-9625-ff42d2f3647f}
- UpgradeCode
- {6D2E28EF-5AEA-5A3E-B7B4-7E3B246D9DA8}
- DisplayVersion
- 3.8.10150.0
64-bit · EXE (WiX Burn) · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
python-3.8.10-amd64.exe /quiet /norestartဖယ်ရှားခြင်း (Uninstall)
msiexec /x {E9CD241B-9125-4624-9625-FF42D2F3647F} /qn /norestart- MSI product code
- {e9cd241b-9125-4624-9625-ff42d2f3647f}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e9cd241b-9125-4624-9625-ff42d2f3647f}
- UpgradeCode
- {6D2E28EF-5AEA-5A3E-B7B4-7E3B246D9DA8}
- DisplayVersion
- 3.8.10150.0
32-bit · EXE (WiX Burn) · လက်ရှိအသုံးပြုသူ
အသံတိတ်ထည့်သွင်းခြင်း
python-3.8.10.exe /quiet /norestartဖယ်ရှားခြင်း (Uninstall)
msiexec /x {85379532-0003-4517-8FC4-6227B410C30C} /qn /norestart- MSI product code
- {85379532-0003-4517-8fc4-6227b410c30c}
- Uninstall registry key
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{85379532-0003-4517-8fc4-6227b410c30c}
- UpgradeCode
- {7F7CEC53-74A3-5306-8929-AAEFBED71FF3}
- DisplayVersion
- 3.8.10150.0
32-bit · EXE (WiX Burn) · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
python-3.8.10.exe /quiet /norestartဖယ်ရှားခြင်း (Uninstall)
msiexec /x {85379532-0003-4517-8FC4-6227B410C30C} /qn /norestart- MSI product code
- {85379532-0003-4517-8fc4-6227b410c30c}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{85379532-0003-4517-8fc4-6227b410c30c}
- UpgradeCode
- {7F7CEC53-74A3-5306-8929-AAEFBED71FF3}
- DisplayVersion
- 3.8.10150.0
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-python-3-8.ps1
$url = 'https://www.python.org/ftp/python/3.8.10/python-3.8.10-amd64.exe'
$sha256 = '7628244CB53408B50639D2C1287C659F4E29D3DFDB9084B11AED5870C0C6A48A'
$file = Join-Path $env:TEMP 'python-3.8.10-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-8.ps1
$url = 'https://www.python.org/ftp/python/3.8.10/python-3.8.10-amd64.exe'
$sha256 = '7628244CB53408B50639D2C1287C659F4E29D3DFDB9084B11AED5870C0C6A48A'
$file = Join-Path $env:TEMP 'python-3.8.10-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-8.ps1
$url = 'https://www.python.org/ftp/python/3.8.10/python-3.8.10.exe'
$sha256 = 'AD07633A1F0CD795F3BF9DA33729F662281DF196B4567FA795829F3BB38A30AC'
$file = Join-Path $env:TEMP 'python-3.8.10.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-8.ps1
$url = 'https://www.python.org/ftp/python/3.8.10/python-3.8.10.exe'
$sha256 = 'AD07633A1F0CD795F3BF9DA33729F662281DF196B4567FA795829F3BB38A30AC'
$file = Join-Path $env:TEMP 'python-3.8.10.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